123456789101112131415161718192021222324252627282930313233343536373839 |
- #!/bin/sh
-
-
-
-
-
-
-
-
-
-
- case "$1" in
- start)
-
- echo -n "Starting p910nd: "
-
- start_daemon p910nd
- echo
- ;;
- stop)
-
- echo -n "Shutting down p910nd: "
- killproc p9101d
- echo
- rm -f /var/run/p9101.pid
- ;;
- status)
- status p9101d
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "Usage: p910nd {start|stop|restart|status}"
- exit 1
- esac
-
- exit 0
|