Merged revisions 248859 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 25 Feb 2010 21:22:39 +0000 (21:22 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 25 Feb 2010 21:22:39 +0000 (21:22 +0000)
commita0af2cff0ec70f504c7723f3d134533d9bc6f435
treef8125370ebba67f09793a01e0c87d1a32e98bbb1
parentd64987f8ade7910b082b2744d9037a1f6503960e
Merged revisions 248859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r248859 | tilghman | 2010-02-25 15:21:05 -0600 (Thu, 25 Feb 2010) | 15 lines

  Some platforms clear /var/run at boot, which makes connecting a remote console... difficult.

  Previously, we only created the default /var/run/asterisk directory at install
  time.  While we could create it in the init script, that would not work for
  those who start asterisk manually from the command line.  So the safest thing
  to do is to create it as part of the Asterisk boot process.  This also changes
  the ownership of the directory, because the pid and ctl files are created after
  we setuid/setgid.

  (closes issue #16802)
   Reported by: Brian
   Patches:
         20100224__issue16802.diff.txt uploaded by tilghman (license 14)
   Tested by: tzafrir
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@248861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/asterisk.c