diff --git a/etc/network.subr b/etc/network.subr index 5ddce8051816..ad6633779677 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index 5ddce8051816..ad6633779677 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index 5ddce8051816..ad6633779677 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index 5ddce8051816..ad6633779677 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index 5ddce8051816..ad6633779677 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 5ddce8051816..ad6633779677 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon diff --git a/etc/rc.network b/etc/rc.network index 5ddce8051816..ad6633779677 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -187,8 +187,8 @@ network_pass1() { case ${firewall_enable} in [Yy][Ee][Ss]) - if [ -r ${firewall_script} ]; then - . ${firewall_script} + if [ -r "${firewall_script}" ]; then + . "${firewall_script}" echo -n 'Firewall rules loaded, starting divert daemons:' # Network Address Translation daemon