summaryrefslogtreecommitdiffstats
path: root/openwrt/package/frickin/files/frickin.init
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-24 01:55:36 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-24 01:55:36 +0000
commit8189375745106c6097d54b49e10deff7441637cd (patch)
treebea7897aa8a256364718980e7d4d67e7572a064b /openwrt/package/frickin/files/frickin.init
parent543e698b786407b17770c1090ebe0f2fb54b25f9 (diff)
Add frickin package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1042 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/frickin/files/frickin.init')
-rw-r--r--openwrt/package/frickin/files/frickin.init16
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/frickin/files/frickin.init b/openwrt/package/frickin/files/frickin.init
new file mode 100644
index 000000000..0a80d417d
--- /dev/null
+++ b/openwrt/package/frickin/files/frickin.init
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+BIN=frickin
+DEFAULT=/etc/default/$BIN
+[ -f $DEFAULT ] && . $DEFAULT
+
+case $1 in
+ start)
+ $BIN $OPTIONS
+ ;;
+ *)
+ echo "usage: $0 (start)"
+ exit 1
+esac
+
+exit $?