summaryrefslogtreecommitdiff
path: root/package/srelay/ipkg/srelay.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/srelay/ipkg/srelay.postinst')
-rw-r--r--package/srelay/ipkg/srelay.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/srelay/ipkg/srelay.postinst b/package/srelay/ipkg/srelay.postinst
new file mode 100644
index 000000000..a3322a763
--- /dev/null
+++ b/package/srelay/ipkg/srelay.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf srelay srelay NO
+add_rcconf srelay_flags srelay_flags "-c /etc/srelay.conf -r -s"