Delete init.asterisk, since it's now in contrib/rc.d
authorMark Spencer <markster@digium.com>
Mon, 12 Jan 2004 03:13:26 +0000 (03:13 +0000)
committerMark Spencer <markster@digium.com>
Mon, 12 Jan 2004 03:13:26 +0000 (03:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1965 65c4cc65-6c06-0410-ace0-fbb531ad65f3

init.asterisk [deleted file]

diff --git a/init.asterisk b/init.asterisk
deleted file mode 100755 (executable)
index bc421be..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# asterisk    This shell script takes care of starting and stopping Asterisk.
-#               
-#
-# chkconfig: 2345 60 60
-# description: Asterisk is the Linux based PBX
-# processname: asterisk
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-[ -f /usr/sbin/asterisk ] || exit 0
-
-RETVAL=0
-
-# See how we were called.
-case "$1" in
-  start)
-        # Start daemons.
-        echo -n "Starting asterisk: "
-        daemon safe_asterisk
-       RETVAL=$?
-        echo
-        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/asterisk
-        ;;
-  stop)
-        # Stop daemons.
-        echo -n "Shutting down asterisk: "
-       killproc asterisk
-       RETVAL=$?
-        echo
-        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/asterisk
-        ;;
-  status)
-       status asterisk
-       RETVAL=$?
-       ;;
-  restart|reload)
-       $0 stop
-       $0 start
-       RETVAL=$?
-       ;;
-  *)
-        echo "Usage: asterisk {start|stop|restart|reload|status}"
-        exit 1
-esac
-
-exit $RETVAL