From 21bbdc24c397671e68606e846837f28df89a5a23 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 4 Aug 2008 11:51:58 +0000 Subject: adds a new uci firewall - iptbales and netfilter packages need to be rewrapped when we switch to this firewall as default - there are some examples in the file /etc/config/firewall - iptables-save/restore are still missing - hotplug takes care of adding/removing netdevs during runtime - misisng features ? wishes ? let me know ... SVN-Revision: 12089 --- package/firewall/files/new/firewall.init | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 package/firewall/files/new/firewall.init (limited to 'package/firewall/files/new/firewall.init') diff --git a/package/firewall/files/new/firewall.init b/package/firewall/files/new/firewall.init new file mode 100755 index 0000000..26855f3 --- /dev/null +++ b/package/firewall/files/new/firewall.init @@ -0,0 +1,14 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org + +START=45 + +start() { + . /lib/firewall/uci_firewall.sh + fw_init +} + +stop() { + . /lib/firewall/uci_firewall.sh + fw_stop +} -- cgit v1.1