summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-09-19 21:32:42 +0000
committergreen <green@FreeBSD.org>1999-09-19 21:32:42 +0000
commitec09929389ced92c6c15bcd643bc57d9ad216514 (patch)
tree9607bd11d67232f423229f707b4ddfaa776739bb
parent9f3127941ea161040402f88dce2701f1f827f0e2 (diff)
downloadFreeBSD-src-ec09929389ced92c6c15bcd643bc57d9ad216514.zip
FreeBSD-src-ec09929389ced92c6c15bcd643bc57d9ad216514.tar.gz
Make the firewall file variable space-safe.
-rw-r--r--etc/network.subr4
-rw-r--r--etc/rc.d/netoptions4
-rw-r--r--etc/rc.d/network14
-rw-r--r--etc/rc.d/network24
-rw-r--r--etc/rc.d/network34
-rw-r--r--etc/rc.d/routing4
-rw-r--r--etc/rc.network4
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
OpenPOWER on IntegriCloud