From 85d73dd66c3e7d328c12c07ac9ab2d19bd431966 Mon Sep 17 00:00:00 2001 From: wbx Date: Wed, 14 Sep 2005 10:09:37 +0000 Subject: fine tune package, add example conf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1916 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/srelay/files/S60srelay | 5 ----- openwrt/package/srelay/files/srelay.conf | 2 ++ openwrt/package/srelay/files/srelay.init | 5 +++++ 3 files changed, 7 insertions(+), 5 deletions(-) delete mode 100755 openwrt/package/srelay/files/S60srelay create mode 100644 openwrt/package/srelay/files/srelay.conf create mode 100755 openwrt/package/srelay/files/srelay.init (limited to 'openwrt/package/srelay/files') diff --git a/openwrt/package/srelay/files/S60srelay b/openwrt/package/srelay/files/S60srelay deleted file mode 100755 index 9e5a5f565..000000000 --- a/openwrt/package/srelay/files/S60srelay +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -if [ -f /etc/srelay.conf ];then - srelay -c /etc/srelay.conf -r -s -fi diff --git a/openwrt/package/srelay/files/srelay.conf b/openwrt/package/srelay/files/srelay.conf new file mode 100644 index 000000000..e5d53ec96 --- /dev/null +++ b/openwrt/package/srelay/files/srelay.conf @@ -0,0 +1,2 @@ +# allow local subnet to access socks proxy +192.168.1.0/24 any - 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 -- cgit v1.2.3