From 8612d336918b408fd3abd844ccb8189f0d64acc5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 15 Oct 2006 21:03:30 +0000 Subject: init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/ (enable|disable) manages symlinks SVN-Revision: 5128 --- package/iptables/Makefile | 2 +- package/iptables/files/firewall.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/iptables') 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 -- cgit v1.2.3