diff options
Diffstat (limited to 'openwrt/package/fakeidentd/files/fakeidentd.init')
-rw-r--r-- | openwrt/package/fakeidentd/files/fakeidentd.init | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openwrt/package/fakeidentd/files/fakeidentd.init b/openwrt/package/fakeidentd/files/fakeidentd.init new file mode 100644 index 0000000000..954ad8c24c --- /dev/null +++ b/openwrt/package/fakeidentd/files/fakeidentd.init @@ -0,0 +1,18 @@ +#!/bin/sh +NAME=fakeidentd +case "$1" in + start) + [ -e $DEFAULT ] && $NAME $DEFAULT + ;; + stop) + killall $NAME + ;; + restart) + killall $NAME + $NAME + ;; + *) + echo "Usage: $NAME (start|stop|restart)" > 2& + exit 1 + ;; +esac |