summaryrefslogtreecommitdiff
path: root/package/tinyproxy/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/tinyproxy/files')
-rw-r--r--package/tinyproxy/files/tinyproxy.init4
-rw-r--r--package/tinyproxy/files/tinyproxy.postinst3
2 files changed, 6 insertions, 1 deletions
diff --git a/package/tinyproxy/files/tinyproxy.init b/package/tinyproxy/files/tinyproxy.init
index e1b7f6f7c..8cf6fbb6a 100644
--- a/package/tinyproxy/files/tinyproxy.init
+++ b/package/tinyproxy/files/tinyproxy.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 70
+#PKG tinyproxy
+#INIT 70
+
. /etc/rc.conf
case $1 in
diff --git a/package/tinyproxy/files/tinyproxy.postinst b/package/tinyproxy/files/tinyproxy.postinst
new file mode 100644
index 000000000..4965f625d
--- /dev/null
+++ b/package/tinyproxy/files/tinyproxy.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf tinyproxy tinyproxy NO