summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc.firewall4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index 3742880..922fe14 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -228,7 +228,9 @@ case ${firewall_type} in
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
;;
*)
- if [ -r "${firewall_type}" ]; then
+ if [ -x "${firewall_type}" ]; then
+ . ${firewall_type}
+ elif [ -r "${firewall_type}" ]; then
${fwcmd} ${firewall_flags} ${firewall_type}
fi
;;
OpenPOWER on IntegriCloud