summaryrefslogtreecommitdiffstats
path: root/etc/rc.firewall
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.firewall')
-rw-r--r--etc/rc.firewall12
1 files changed, 7 insertions, 5 deletions
diff --git a/etc/rc.firewall b/etc/rc.firewall
index 4b8641b..6e96e26 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -30,11 +30,13 @@
#
# Suck in the configuration variables.
-if [ -r /etc/defaults/rc.conf ]; then
- . /etc/defaults/rc.conf
- source_rc_confs
-elif [ -r /etc/rc.conf ]; then
- . /etc/rc.conf
+if [ -z "${source_rc_confs_defined}" ]; then
+ if [ -r /etc/defaults/rc.conf ]; then
+ . /etc/defaults/rc.conf
+ source_rc_confs
+ elif [ -r /etc/rc.conf ]; then
+ . /etc/rc.conf
+ fi
fi
############
OpenPOWER on IntegriCloud