diff options
author | green <green@FreeBSD.org> | 1999-09-19 21:32:42 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 1999-09-19 21:32:42 +0000 |
commit | ec09929389ced92c6c15bcd643bc57d9ad216514 (patch) | |
tree | 9607bd11d67232f423229f707b4ddfaa776739bb | |
parent | 9f3127941ea161040402f88dce2701f1f827f0e2 (diff) | |
download | FreeBSD-src-ec09929389ced92c6c15bcd643bc57d9ad216514.zip FreeBSD-src-ec09929389ced92c6c15bcd643bc57d9ad216514.tar.gz |
Make the firewall file variable space-safe.
-rw-r--r-- | etc/network.subr | 4 | ||||
-rw-r--r-- | etc/rc.d/netoptions | 4 | ||||
-rw-r--r-- | etc/rc.d/network1 | 4 | ||||
-rw-r--r-- | etc/rc.d/network2 | 4 | ||||
-rw-r--r-- | etc/rc.d/network3 | 4 | ||||
-rw-r--r-- | etc/rc.d/routing | 4 | ||||
-rw-r--r-- | etc/rc.network | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/etc/network.subr b/etc/network.subr index 5ddce80..ad66337 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 5ddce80..ad66337 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 5ddce80..ad66337 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 5ddce80..ad66337 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 5ddce80..ad66337 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 5ddce80..ad66337 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 5ddce80..ad66337 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 |