summaryrefslogtreecommitdiff
path: root/package/srelay/files/srelay.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/srelay/files/srelay.postinst')
-rw-r--r--package/srelay/files/srelay.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/srelay/files/srelay.postinst b/package/srelay/files/srelay.postinst
new file mode 100644
index 000000000..a3322a763
--- /dev/null
+++ b/package/srelay/files/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"