aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-15 21:03:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-15 21:03:30 +0000
commitc731d42b1adbc6fc0d72bf3f551ae96962d1d26a (patch)
tree30a7c428135c35e4bfa2117bfe86448ff7239c92 /package/iptables
parentcb21a64972f9467c77af343d0e031d1c39857940 (diff)
downloadmaster-187ad058-c731d42b1adbc6fc0d72bf3f551ae96962d1d26a.tar.gz
master-187ad058-c731d42b1adbc6fc0d72bf3f551ae96962d1d26a.tar.bz2
master-187ad058-c731d42b1adbc6fc0d72bf3f551ae96962d1d26a.zip
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables')
-rw-r--r--package/iptables/Makefile2
-rwxr-xr-xpackage/iptables/files/firewall.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index d198a9271a..ee0c0941b1 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -195,7 +195,7 @@ define Package/iptables/install
install -d -m0755 $(1)/etc/config
install -m0644 ./files/firewall.config $(1)/etc/config/firewall
install -d -m0755 $(1)/etc/init.d
- install -m0755 ./files/firewall.init $(1)/etc/init.d/S45firewall
+ install -m0755 ./files/firewall.init $(1)/etc/init.d/firewall
install -m0755 ./files/firewall.user $(1)/etc/
install -d -m0755 $(1)/usr/lib
install -m0644 ./files/firewall.awk $(1)/usr/lib
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init
index 731485bcdd..1e39d05fd9 100755
--- a/package/iptables/files/firewall.init
+++ b/package/iptables/files/firewall.init
@@ -2,7 +2,7 @@
# Copyright (C) 2006 OpenWrt.org
## Please make changes in /etc/firewall.user
-
+START=45
start() {
include /lib/network
scan_interfaces