diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 21:03:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-15 21:03:30 +0000 |
commit | 8612d336918b408fd3abd844ccb8189f0d64acc5 (patch) | |
tree | dd043a8580746d6ee54912206a873228401c12f7 /package/iptables | |
parent | 6f8a93af7ef4eafdd3d6f678398e6f5df2a5560d (diff) | |
download | mtk-20170518-8612d336918b408fd3abd844ccb8189f0d64acc5.zip mtk-20170518-8612d336918b408fd3abd844ccb8189f0d64acc5.tar.gz mtk-20170518-8612d336918b408fd3abd844ccb8189f0d64acc5.tar.bz2 |
init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
SVN-Revision: 5128
Diffstat (limited to 'package/iptables')
-rw-r--r-- | package/iptables/Makefile | 2 | ||||
-rwxr-xr-x | package/iptables/files/firewall.init | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index d198a92..ee0c094 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 731485b..1e39d05 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 |