aboutsummaryrefslogtreecommitdiff
path: root/system/pommed/rc.pommed
diff options
context:
space:
mode:
Diffstat (limited to 'system/pommed/rc.pommed')
-rw-r--r--system/pommed/rc.pommed33
1 files changed, 0 insertions, 33 deletions
diff --git a/system/pommed/rc.pommed b/system/pommed/rc.pommed
deleted file mode 100644
index 7bac4af53629b..0000000000000
--- a/system/pommed/rc.pommed
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-# Start/stop/restart the pommed service:
-
-pommed_start() {
- /usr/sbin/pommed
-}
-
-pommed_stop() {
- kill $(cat /var/run/pommed.pid) || killall pommed
- rm -f /var/run/pommed.pid
-}
-
-pommed_restart() {
- pommed_stop
- sleep 1
- pommed_start
-}
-
-case "$1" in
-'start')
- pommed_start
- ;;
-'stop')
- pommed_stop
- ;;
-'restart')
- pommed_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
-