From d166b8b1a9180faa49a3474f14270c100818c9d1 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 13 Jun 2005 23:36:21 +0000 Subject: [PATCH] Check if /etc/firewall.user exists before sourcing it SVN-Revision: 1232 --- openwrt/target/default/target_skeleton/etc/init.d/S45firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall index 8f9b9404e5..348b7e71b9 100755 --- a/openwrt/target/default/target_skeleton/etc/init.d/S45firewall +++ b/openwrt/target/default/target_skeleton/etc/init.d/S45firewall @@ -83,4 +83,4 @@ iptables -t nat -N postrouting_rule iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADE ## USER RULES -. /etc/firewall.user +[ -f /etc/firewall.user ] && . /etc/firewall.user -- 2.30.2