[asterisk-commits] trunk - r7919
/trunk/contrib/init.d/rc.suse.asterisk
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jan 9 17:20:51 CST 2006
Author: tilghman
Date: Mon Jan 9 17:20:50 2006
New Revision: 7919
URL: http://svn.digium.com/view/asterisk?rev=7919&view=rev
Log:
Bug 6106 - SuSE startup script
Added:
trunk/contrib/init.d/rc.suse.asterisk
- copied, changed from r7918, trunk/contrib/init.d/rc.redhat.asterisk
Copied: trunk/contrib/init.d/rc.suse.asterisk (from r7918, trunk/contrib/init.d/rc.redhat.asterisk)
URL: http://svn.digium.com/view/asterisk/trunk/contrib/init.d/rc.suse.asterisk?p2=trunk/contrib/init.d/rc.suse.asterisk&p1=trunk/contrib/init.d/rc.redhat.asterisk&r1=7918&r2=7919&rev=7919&view=diff
==============================================================================
--- trunk/contrib/init.d/rc.redhat.asterisk (original)
+++ trunk/contrib/init.d/rc.suse.asterisk Mon Jan 9 17:20:50 2006
@@ -21,7 +21,7 @@
# - Modified "reload" to call asterisk -rx 'reload'
# Source function library.
-. /etc/rc.d/init.d/functions
+. /lib/lsb/init-functions
if ! [ -x /usr/sbin/asterisk ] ; then
echo "ERROR: /usr/sbin/asterisk not found"
@@ -64,7 +64,7 @@
if [ $AST_GROUP ] ; then
ASTARGS="`echo $ASTARGS` -G $AST_GROUP"
fi
- daemon $DAEMON $ASTARGS
+ $DAEMON $ASTARGS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/asterisk
echo
More information about the asterisk-commits
mailing list