summaryrefslogtreecommitdiffstats
path: root/scripts/mandi.init
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mandi.init')
-rw-r--r--scripts/mandi.init53
1 files changed, 0 insertions, 53 deletions
diff --git a/scripts/mandi.init b/scripts/mandi.init
deleted file mode 100644
index 29c8b2c..0000000
--- a/scripts/mandi.init
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-# Startup script for the mandi daemon (oblin@mandriva.com)
-#
-# chkconfig: 2345 26 59
-#
-# description: Network monitoring daemon (Interactive Firewall and wireless)
-#
-### BEGIN INIT INFO
-# Provides: mandi
-# Should-Start: shorewall
-# Required-Start: messagebus
-# Required-Stop: messagebus
-# Default-Start: 2 3 4 5
-# Short-Description: Network monitoring daemon
-# Description: Network monitoring daemon (Interactive Firewall and wireless)
-### END INIT INFO
-
-. /etc/init.d/functions
-
-case "$1" in
- start)
- gprintf "Starting mandi daemon: "
- daemon /usr/sbin/mandi -d
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/mandi
- ;;
- stop)
- gprintf "Shutting down mandi daemon: "
- killproc mandi
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/mandi
- ;;
- status)
- status mandi
- RETVAL=$?
- ;;
- restart|reload)
- $0 stop
- $0 start
- ;;
- condrestart)
- [ -f /var/lock/subsys/mandi ] && restart || :
- ;;
- *)
- gprintf "Usage: %s {start|stop|status|restart}\n" "$0"
- RETVAL=1
- ;;
-esac
-
-exit $RETVAL