summaryrefslogtreecommitdiffstats
path: root/openwrt/package/srelay/files/srelay.init
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-14 10:09:37 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-14 10:09:37 +0000
commit85d73dd66c3e7d328c12c07ac9ab2d19bd431966 (patch)
tree647772265f46c287c5b8763d0b98284371870bfc /openwrt/package/srelay/files/srelay.init
parent7c82d19c08382c1f86963f38f6481b12fa799a35 (diff)
fine tune package, add example conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1916 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/srelay/files/srelay.init')
-rwxr-xr-xopenwrt/package/srelay/files/srelay.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/package/srelay/files/srelay.init b/openwrt/package/srelay/files/srelay.init
new file mode 100755
index 000000000..9e5a5f565
--- /dev/null
+++ b/openwrt/package/srelay/files/srelay.init
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -f /etc/srelay.conf ];then
+ srelay -c /etc/srelay.conf -r -s
+fi