summaryrefslogtreecommitdiffstats
path: root/openwrt/package/fakeidentd/files
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-13 14:12:04 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-13 14:12:04 +0000
commit32155c787122458c5782e04218ceb69023639631 (patch)
tree386a212ba5bd5ed9f4c3b53029757c1fc298130d /openwrt/package/fakeidentd/files
parentc590e73632f7c2d0e63b543f4cc38f224708e0be (diff)
Add fakeidentd a lightweight identd daemon.
Fix minor typo in menuconfig for weechat git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3631 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/fakeidentd/files')
-rw-r--r--openwrt/package/fakeidentd/files/fakeidentd.init18
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 000000000..954ad8c24
--- /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