Merged revisions 119301 via svnmerge from
authorMichiel van Baak <michiel@vanbaak.info>
Fri, 30 May 2008 16:47:24 +0000 (16:47 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Fri, 30 May 2008 16:47:24 +0000 (16:47 +0000)
commitfcc15d65b1d6de49cf349b3bfffd4716db003a2e
tree96b4a975e899be1946127ec15daacff15c2f9bf1
parent428f08bd64832d331011a608a4d8dc8c8e34f46f
Merged revisions 119301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119301 | mvanbaak | 2008-05-30 18:44:39 +0200 (Fri, 30 May 2008) | 14 lines

dont use a bashism way to check the $VERSION variable.
The rc/init.d scripts, and safe_asterisk work on normal sh now again.
Tested on:
OpenBSD 4.2 (me)
Debian etch (me)
Ubuntu Hardy (me and loloski)
FC9 (loloski)

(closes issue #12687)
Reported by: loloski
Patches:
      20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by mvanbaak (license 7)
  Tested by: loloski, mvanbaak

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
contrib/init.d/rc.debian.asterisk
contrib/init.d/rc.gentoo.asterisk
contrib/init.d/rc.mandrake.asterisk
contrib/init.d/rc.redhat.asterisk
contrib/init.d/rc.slackware.asterisk
contrib/init.d/rc.suse.asterisk
contrib/scripts/safe_asterisk