diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-04-13 14:12:04 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-04-13 14:12:04 +0000 |
commit | 6e0e080e315ac9fde89495183c939ab5f491ad1c (patch) | |
tree | 1c1a532d6d1b0a0a958703319bc78c06f2a10b24 /openwrt/package/fakeidentd/files/fakeidentd.init | |
parent | ba8f56b60ddf35305d29f74a77be079233cd0ddb (diff) | |
download | mtk-20170518-6e0e080e315ac9fde89495183c939ab5f491ad1c.zip mtk-20170518-6e0e080e315ac9fde89495183c939ab5f491ad1c.tar.gz mtk-20170518-6e0e080e315ac9fde89495183c939ab5f491ad1c.tar.bz2 |
Add fakeidentd a lightweight identd daemon. Fix minor typo in menuconfig for weechat
SVN-Revision: 3631
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 0000000..954ad8c --- /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 |