summaryrefslogtreecommitdiff
path: root/package/portmap/init-portmap
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-09 22:48:41 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-09 22:48:41 +0000
commit6b00c90d709a01822027fb9986ec8ace605dd991 (patch)
tree247dda891d7c16580a7d274411581c519d01c2db /package/portmap/init-portmap
parent448153a06a443ad61f3df88408edf3a7da98ea0c (diff)
Rename all INIT scripts to have the numerical prefixes to easily see the start-up order.
Diffstat (limited to 'package/portmap/init-portmap')
-rwxr-xr-xpackage/portmap/init-portmap44
1 files changed, 0 insertions, 44 deletions
diff --git a/package/portmap/init-portmap b/package/portmap/init-portmap
deleted file mode 100755
index 573a16abf..000000000
--- a/package/portmap/init-portmap
+++ /dev/null
@@ -1,44 +0,0 @@
-#! /bin/sh
-
-[ -f /sbin/portmap ] || exit 0
-
-start() {
- echo -n "Starting portmap: "
- portmap
- mkdir -p /var/lock/subsys
- touch /var/lock/subsys/portmap
- echo "done"
-}
-
-
-stop() {
- echo -n "Stopping portmap: "
- echo
- killall portmap
- rm -rf /var/lock/subsys
- echo "done"
-}
-
-restart() {
- stop
- start
- rm -f /var/run/portmap.state
-}
-
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart|reload)
- restart
- ;;
- *)
- echo "Usage: $0 {start|stop|reload|restart}"
- exit 1
-esac
-
-exit $?