summaryrefslogtreecommitdiff
path: root/openwrt/package/frickin/files/frickin.init
diff options
context:
space:
mode:
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 0000000..0a80d41
--- /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 $?