summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2000-12-17 08:16:06 +0000
committerdougb <dougb@FreeBSD.org>2000-12-17 08:16:06 +0000
commit1e8ecc617bb05e72dce649d99982f0fbe0ad64e1 (patch)
tree8bb5bbce19114a1cdb5dd43110cd1aab487c45d7 /etc/rc.d
parentd8586c3f20a1e9e2925a2cdb240369fa29d0630e (diff)
downloadFreeBSD-src-1e8ecc617bb05e72dce649d99982f0fbe0ad64e1.zip
FreeBSD-src-1e8ecc617bb05e72dce649d99982f0fbe0ad64e1.tar.gz
Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line * Single quotes for lines with no variable interpolation * Double quotes if there is * Capitalize each word that begins a line * Make echo -n 'Doing foo:' ... echo '.' more of a standard No functionality changes
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/atm126
-rw-r--r--etc/rc.d/atm226
-rw-r--r--etc/rc.d/atm2.sh26
-rw-r--r--etc/rc.d/atm326
-rw-r--r--etc/rc.d/atm3.sh26
-rw-r--r--etc/rc.d/netoptions20
-rw-r--r--etc/rc.d/network120
-rw-r--r--etc/rc.d/network220
-rw-r--r--etc/rc.d/network320
-rw-r--r--etc/rc.d/pccard3
-rw-r--r--etc/rc.d/routing20
11 files changed, 117 insertions, 116 deletions
diff --git a/etc/rc.d/atm1 b/etc/rc.d/atm1
index 834219b..88e4354 100644
--- a/etc/rc.d/atm1
+++ b/etc/rc.d/atm1
@@ -50,7 +50,7 @@ atm_pass1() {
done`
if [ -z "${atmdev}" ]; then
- echo "No ATM adapters found."
+ echo 'No ATM adapters found'
return 0
fi
@@ -69,7 +69,7 @@ atm_pass1() {
if [ -n "${netif_args}" ]; then
atm set netif ${phy} ${netif_args} || continue
else
- echo "missing network interface definition"
+ echo ' missing network interface definition'
continue
fi
@@ -90,7 +90,7 @@ atm_pass1() {
if [ -n "${sigmgr_args}" ]; then
atm attach ${phy} ${sigmgr_args} || continue
else
- echo "missing signalling manager definition"
+ echo ' missing signalling manager definition'
continue
fi
@@ -98,7 +98,7 @@ atm_pass1() {
eval prefix_args=\$atm_prefix_${phy}
if [ `expr "${sigmgr_args}" : '[uU][nN][iI].*'` -ne 0 ]; then
if [ -z "${prefix_args}" ]; then
- echo "missing NSAP prefix for UNI interface"
+ echo ' missing NSAP prefix for UNI interface'
continue
fi
@@ -113,19 +113,19 @@ atm_pass1() {
fi
atm_phy="${atm_phy} ${phy}"
- echo "."
+ echo '.'
done
- echo -n "Starting initial ATM daemons:"
+ echo -n 'Starting initial ATM daemons:'
# Start ILMI daemon (if needed)
case ${ilmid} in
1)
- echo -n " ilmid"
+ echo -n ' ilmid'
ilmid
;;
esac
- echo "."
+ echo '.'
atm_pass1_done=YES
}
@@ -134,7 +134,7 @@ atm_pass1() {
# N.B. /usr is not mounted.
#
atm_pass2() {
- echo -n "Configuring ATM network interfaces:"
+ echo -n 'Configuring ATM network interfaces:'
atm_scspd=0
atm_atmarpd=""
@@ -165,7 +165,7 @@ atm_pass2() {
local)
;;
*)
- echo "local arpserver required for SCSP"
+ echo ' local arpserver required for SCSP'
continue
;;
esac
@@ -175,7 +175,7 @@ atm_pass2() {
esac
done
done
- echo "."
+ echo '.'
# Define any PVCs.
if [ -n "${atm_pvcs}" ]; then
@@ -202,14 +202,14 @@ atm_pass3() {
# Start SCSP daemon (if needed)
case ${atm_scspd} in
1)
- echo -n " scspd"
+ echo -n ' scspd'
scspd
;;
esac
# Start ATMARP daemon (if needed)
if [ -n "${atm_atmarpd}" ]; then
- echo -n " atmarpd"
+ echo -n ' atmarpd'
atmarpd ${atm_atmarpd}
fi
diff --git a/etc/rc.d/atm2 b/etc/rc.d/atm2
index 834219b..88e4354 100644
--- a/etc/rc.d/atm2
+++ b/etc/rc.d/atm2
@@ -50,7 +50,7 @@ atm_pass1() {
done`
if [ -z "${atmdev}" ]; then
- echo "No ATM adapters found."
+ echo 'No ATM adapters found'
return 0
fi
@@ -69,7 +69,7 @@ atm_pass1() {
if [ -n "${netif_args}" ]; then
atm set netif ${phy} ${netif_args} || continue
else
- echo "missing network interface definition"
+ echo ' missing network interface definition'
continue
fi
@@ -90,7 +90,7 @@ atm_pass1() {
if [ -n "${sigmgr_args}" ]; then
atm attach ${phy} ${sigmgr_args} || continue
else
- echo "missing signalling manager definition"
+ echo ' missing signalling manager definition'
continue
fi
@@ -98,7 +98,7 @@ atm_pass1() {
eval prefix_args=\$atm_prefix_${phy}
if [ `expr "${sigmgr_args}" : '[uU][nN][iI].*'` -ne 0 ]; then
if [ -z "${prefix_args}" ]; then
- echo "missing NSAP prefix for UNI interface"
+ echo ' missing NSAP prefix for UNI interface'
continue
fi
@@ -113,19 +113,19 @@ atm_pass1() {
fi
atm_phy="${atm_phy} ${phy}"
- echo "."
+ echo '.'
done
- echo -n "Starting initial ATM daemons:"
+ echo -n 'Starting initial ATM daemons:'
# Start ILMI daemon (if needed)
case ${ilmid} in
1)
- echo -n " ilmid"
+ echo -n ' ilmid'
ilmid
;;
esac
- echo "."
+ echo '.'
atm_pass1_done=YES
}
@@ -134,7 +134,7 @@ atm_pass1() {
# N.B. /usr is not mounted.
#
atm_pass2() {
- echo -n "Configuring ATM network interfaces:"
+ echo -n 'Configuring ATM network interfaces:'
atm_scspd=0
atm_atmarpd=""
@@ -165,7 +165,7 @@ atm_pass2() {
local)
;;
*)
- echo "local arpserver required for SCSP"
+ echo ' local arpserver required for SCSP'
continue
;;
esac
@@ -175,7 +175,7 @@ atm_pass2() {
esac
done
done
- echo "."
+ echo '.'
# Define any PVCs.
if [ -n "${atm_pvcs}" ]; then
@@ -202,14 +202,14 @@ atm_pass3() {
# Start SCSP daemon (if needed)
case ${atm_scspd} in
1)
- echo -n " scspd"
+ echo -n ' scspd'
scspd
;;
esac
# Start ATMARP daemon (if needed)
if [ -n "${atm_atmarpd}" ]; then
- echo -n " atmarpd"
+ echo -n ' atmarpd'
atmarpd ${atm_atmarpd}
fi
diff --git a/etc/rc.d/atm2.sh b/etc/rc.d/atm2.sh
index 834219b..88e4354 100644
--- a/etc/rc.d/atm2.sh
+++ b/etc/rc.d/atm2.sh
@@ -50,7 +50,7 @@ atm_pass1() {
done`
if [ -z "${atmdev}" ]; then
- echo "No ATM adapters found."
+ echo 'No ATM adapters found'
return 0
fi
@@ -69,7 +69,7 @@ atm_pass1() {
if [ -n "${netif_args}" ]; then
atm set netif ${phy} ${netif_args} || continue
else
- echo "missing network interface definition"
+ echo ' missing network interface definition'
continue
fi
@@ -90,7 +90,7 @@ atm_pass1() {
if [ -n "${sigmgr_args}" ]; then
atm attach ${phy} ${sigmgr_args} || continue
else
- echo "missing signalling manager definition"
+ echo ' missing signalling manager definition'
continue
fi
@@ -98,7 +98,7 @@ atm_pass1() {
eval prefix_args=\$atm_prefix_${phy}
if [ `expr "${sigmgr_args}" : '[uU][nN][iI].*'` -ne 0 ]; then
if [ -z "${prefix_args}" ]; then
- echo "missing NSAP prefix for UNI interface"
+ echo ' missing NSAP prefix for UNI interface'
continue
fi
@@ -113,19 +113,19 @@ atm_pass1() {
fi
atm_phy="${atm_phy} ${phy}"
- echo "."
+ echo '.'
done
- echo -n "Starting initial ATM daemons:"
+ echo -n 'Starting initial ATM daemons:'
# Start ILMI daemon (if needed)
case ${ilmid} in
1)
- echo -n " ilmid"
+ echo -n ' ilmid'
ilmid
;;
esac
- echo "."
+ echo '.'
atm_pass1_done=YES
}
@@ -134,7 +134,7 @@ atm_pass1() {
# N.B. /usr is not mounted.
#
atm_pass2() {
- echo -n "Configuring ATM network interfaces:"
+ echo -n 'Configuring ATM network interfaces:'
atm_scspd=0
atm_atmarpd=""
@@ -165,7 +165,7 @@ atm_pass2() {
local)
;;
*)
- echo "local arpserver required for SCSP"
+ echo ' local arpserver required for SCSP'
continue
;;
esac
@@ -175,7 +175,7 @@ atm_pass2() {
esac
done
done
- echo "."
+ echo '.'
# Define any PVCs.
if [ -n "${atm_pvcs}" ]; then
@@ -202,14 +202,14 @@ atm_pass3() {
# Start SCSP daemon (if needed)
case ${atm_scspd} in
1)
- echo -n " scspd"
+ echo -n ' scspd'
scspd
;;
esac
# Start ATMARP daemon (if needed)
if [ -n "${atm_atmarpd}" ]; then
- echo -n " atmarpd"
+ echo -n ' atmarpd'
atmarpd ${atm_atmarpd}
fi
diff --git a/etc/rc.d/atm3 b/etc/rc.d/atm3
index 834219b..88e4354 100644
--- a/etc/rc.d/atm3
+++ b/etc/rc.d/atm3
@@ -50,7 +50,7 @@ atm_pass1() {
done`
if [ -z "${atmdev}" ]; then
- echo "No ATM adapters found."
+ echo 'No ATM adapters found'
return 0
fi
@@ -69,7 +69,7 @@ atm_pass1() {
if [ -n "${netif_args}" ]; then
atm set netif ${phy} ${netif_args} || continue
else
- echo "missing network interface definition"
+ echo ' missing network interface definition'
continue
fi
@@ -90,7 +90,7 @@ atm_pass1() {
if [ -n "${sigmgr_args}" ]; then
atm attach ${phy} ${sigmgr_args} || continue
else
- echo "missing signalling manager definition"
+ echo ' missing signalling manager definition'
continue
fi
@@ -98,7 +98,7 @@ atm_pass1() {
eval prefix_args=\$atm_prefix_${phy}
if [ `expr "${sigmgr_args}" : '[uU][nN][iI].*'` -ne 0 ]; then
if [ -z "${prefix_args}" ]; then
- echo "missing NSAP prefix for UNI interface"
+ echo ' missing NSAP prefix for UNI interface'
continue
fi
@@ -113,19 +113,19 @@ atm_pass1() {
fi
atm_phy="${atm_phy} ${phy}"
- echo "."
+ echo '.'
done
- echo -n "Starting initial ATM daemons:"
+ echo -n 'Starting initial ATM daemons:'
# Start ILMI daemon (if needed)
case ${ilmid} in
1)
- echo -n " ilmid"
+ echo -n ' ilmid'
ilmid
;;
esac
- echo "."
+ echo '.'
atm_pass1_done=YES
}
@@ -134,7 +134,7 @@ atm_pass1() {
# N.B. /usr is not mounted.
#
atm_pass2() {
- echo -n "Configuring ATM network interfaces:"
+ echo -n 'Configuring ATM network interfaces:'
atm_scspd=0
atm_atmarpd=""
@@ -165,7 +165,7 @@ atm_pass2() {
local)
;;
*)
- echo "local arpserver required for SCSP"
+ echo ' local arpserver required for SCSP'
continue
;;
esac
@@ -175,7 +175,7 @@ atm_pass2() {
esac
done
done
- echo "."
+ echo '.'
# Define any PVCs.
if [ -n "${atm_pvcs}" ]; then
@@ -202,14 +202,14 @@ atm_pass3() {
# Start SCSP daemon (if needed)
case ${atm_scspd} in
1)
- echo -n " scspd"
+ echo -n ' scspd'
scspd
;;
esac
# Start ATMARP daemon (if needed)
if [ -n "${atm_atmarpd}" ]; then
- echo -n " atmarpd"
+ echo -n ' atmarpd'
atmarpd ${atm_atmarpd}
fi
diff --git a/etc/rc.d/atm3.sh b/etc/rc.d/atm3.sh
index 834219b..88e4354 100644
--- a/etc/rc.d/atm3.sh
+++ b/etc/rc.d/atm3.sh
@@ -50,7 +50,7 @@ atm_pass1() {
done`
if [ -z "${atmdev}" ]; then
- echo "No ATM adapters found."
+ echo 'No ATM adapters found'
return 0
fi
@@ -69,7 +69,7 @@ atm_pass1() {
if [ -n "${netif_args}" ]; then
atm set netif ${phy} ${netif_args} || continue
else
- echo "missing network interface definition"
+ echo ' missing network interface definition'
continue
fi
@@ -90,7 +90,7 @@ atm_pass1() {
if [ -n "${sigmgr_args}" ]; then
atm attach ${phy} ${sigmgr_args} || continue
else
- echo "missing signalling manager definition"
+ echo ' missing signalling manager definition'
continue
fi
@@ -98,7 +98,7 @@ atm_pass1() {
eval prefix_args=\$atm_prefix_${phy}
if [ `expr "${sigmgr_args}" : '[uU][nN][iI].*'` -ne 0 ]; then
if [ -z "${prefix_args}" ]; then
- echo "missing NSAP prefix for UNI interface"
+ echo ' missing NSAP prefix for UNI interface'
continue
fi
@@ -113,19 +113,19 @@ atm_pass1() {
fi
atm_phy="${atm_phy} ${phy}"
- echo "."
+ echo '.'
done
- echo -n "Starting initial ATM daemons:"
+ echo -n 'Starting initial ATM daemons:'
# Start ILMI daemon (if needed)
case ${ilmid} in
1)
- echo -n " ilmid"
+ echo -n ' ilmid'
ilmid
;;
esac
- echo "."
+ echo '.'
atm_pass1_done=YES
}
@@ -134,7 +134,7 @@ atm_pass1() {
# N.B. /usr is not mounted.
#
atm_pass2() {
- echo -n "Configuring ATM network interfaces:"
+ echo -n 'Configuring ATM network interfaces:'
atm_scspd=0
atm_atmarpd=""
@@ -165,7 +165,7 @@ atm_pass2() {
local)
;;
*)
- echo "local arpserver required for SCSP"
+ echo ' local arpserver required for SCSP'
continue
;;
esac
@@ -175,7 +175,7 @@ atm_pass2() {
esac
done
done
- echo "."
+ echo '.'
# Define any PVCs.
if [ -n "${atm_pvcs}" ]; then
@@ -202,14 +202,14 @@ atm_pass3() {
# Start SCSP daemon (if needed)
case ${atm_scspd} in
1)
- echo -n " scspd"
+ echo -n ' scspd'
scspd
;;
esac
# Start ATMARP daemon (if needed)
if [ -n "${atm_atmarpd}" ]; then
- echo -n " atmarpd"
+ echo -n ' atmarpd'
atmarpd ${atm_atmarpd}
fi
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 04b83dd..1e67911 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -40,12 +40,12 @@ network_pass1() {
# Convert host.conf to nsswitch.conf if necessary
if [ -f "/etc/host.conf" ]; then
- echo ""
- echo "Warning: /etc/host.conf is no longer used"
+ echo ''
+ echo 'Warning: /etc/host.conf is no longer used'
if [ -f "/etc/nsswitch.conf" ]; then
- echo " /etc/nsswitch.conf will be used instead"
+ echo ' /etc/nsswitch.conf will be used instead'
else
- echo " /etc/nsswitch.conf will be created for you"
+ echo ' /etc/nsswitch.conf will be created for you'
convert_host_conf /etc/host.conf /etc/nsswitch.conf
fi
fi
@@ -247,9 +247,9 @@ network_pass1() {
[Yy][Ee][Ss])
if [ "${firewall_in_kernel}" -eq 0 ] && kldload ipfw; then
firewall_in_kernel=1
- echo "Kernel firewall module loaded."
+ echo 'Kernel firewall module loaded'
elif [ "${firewall_in_kernel}" -eq 0 ]; then
- echo "Warning: firewall kernel module failed to load."
+ echo 'Warning: firewall kernel module failed to load'
fi
;;
esac
@@ -288,9 +288,9 @@ network_pass1() {
echo '.'
elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then
- echo -n "Warning: kernel has firewall functionality, "
- echo "but firewall rules are not enabled."
- echo " All ip services are disabled."
+ echo 'Warning: kernel has firewall functionality,' \
+ 'but firewall rules are not enabled.'
+ echo ' All ip services are disabled.'
fi
case ${firewall_logging} in
@@ -451,7 +451,7 @@ network_pass1() {
;;
esac
- echo -n 'routing daemons:'
+ echo -n 'Routing daemons:'
case ${router_enable} in
[Yy][Ee][Ss])
echo -n " ${router}"; ${router} ${router_flags}
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 04b83dd..1e67911 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -40,12 +40,12 @@ network_pass1() {
# Convert host.conf to nsswitch.conf if necessary
if [ -f "/etc/host.conf" ]; then
- echo ""
- echo "Warning: /etc/host.conf is no longer used"
+ echo ''
+ echo 'Warning: /etc/host.conf is no longer used'
if [ -f "/etc/nsswitch.conf" ]; then
- echo " /etc/nsswitch.conf will be used instead"
+ echo ' /etc/nsswitch.conf will be used instead'
else
- echo " /etc/nsswitch.conf will be created for you"
+ echo ' /etc/nsswitch.conf will be created for you'
convert_host_conf /etc/host.conf /etc/nsswitch.conf
fi
fi
@@ -247,9 +247,9 @@ network_pass1() {
[Yy][Ee][Ss])
if [ "${firewall_in_kernel}" -eq 0 ] && kldload ipfw; then
firewall_in_kernel=1
- echo "Kernel firewall module loaded."
+ echo 'Kernel firewall module loaded'
elif [ "${firewall_in_kernel}" -eq 0 ]; then
- echo "Warning: firewall kernel module failed to load."
+ echo 'Warning: firewall kernel module failed to load'
fi
;;
esac
@@ -288,9 +288,9 @@ network_pass1() {
echo '.'
elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then
- echo -n "Warning: kernel has firewall functionality, "
- echo "but firewall rules are not enabled."
- echo " All ip services are disabled."
+ echo 'Warning: kernel has firewall functionality,' \
+ 'but firewall rules are not enabled.'
+ echo ' All ip services are disabled.'
fi
case ${firewall_logging} in
@@ -451,7 +451,7 @@ network_pass1() {
;;
esac
- echo -n 'routing daemons:'
+ echo -n 'Routing daemons:'
case ${router_enable} in
[Yy][Ee][Ss])
echo -n " ${router}"; ${router} ${router_flags}
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index 04b83dd..1e67911 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -40,12 +40,12 @@ network_pass1() {
# Convert host.conf to nsswitch.conf if necessary
if [ -f "/etc/host.conf" ]; then
- echo ""
- echo "Warning: /etc/host.conf is no longer used"
+ echo ''
+ echo 'Warning: /etc/host.conf is no longer used'
if [ -f "/etc/nsswitch.conf" ]; then
- echo " /etc/nsswitch.conf will be used instead"
+ echo ' /etc/nsswitch.conf will be used instead'
else
- echo " /etc/nsswitch.conf will be created for you"
+ echo ' /etc/nsswitch.conf will be created for you'
convert_host_conf /etc/host.conf /etc/nsswitch.conf
fi
fi
@@ -247,9 +247,9 @@ network_pass1() {
[Yy][Ee][Ss])
if [ "${firewall_in_kernel}" -eq 0 ] && kldload ipfw; then
firewall_in_kernel=1
- echo "Kernel firewall module loaded."
+ echo 'Kernel firewall module loaded'
elif [ "${firewall_in_kernel}" -eq 0 ]; then
- echo "Warning: firewall kernel module failed to load."
+ echo 'Warning: firewall kernel module failed to load'
fi
;;
esac
@@ -288,9 +288,9 @@ network_pass1() {
echo '.'
elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then
- echo -n "Warning: kernel has firewall functionality, "
- echo "but firewall rules are not enabled."
- echo " All ip services are disabled."
+ echo 'Warning: kernel has firewall functionality,' \
+ 'but firewall rules are not enabled.'
+ echo ' All ip services are disabled.'
fi
case ${firewall_logging} in
@@ -451,7 +451,7 @@ network_pass1() {
;;
esac
- echo -n 'routing daemons:'
+ echo -n 'Routing daemons:'
case ${router_enable} in
[Yy][Ee][Ss])
echo -n " ${router}"; ${router} ${router_flags}
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index 04b83dd..1e67911 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -40,12 +40,12 @@ network_pass1() {
# Convert host.conf to nsswitch.conf if necessary
if [ -f "/etc/host.conf" ]; then
- echo ""
- echo "Warning: /etc/host.conf is no longer used"
+ echo ''
+ echo 'Warning: /etc/host.conf is no longer used'
if [ -f "/etc/nsswitch.conf" ]; then
- echo " /etc/nsswitch.conf will be used instead"
+ echo ' /etc/nsswitch.conf will be used instead'
else
- echo " /etc/nsswitch.conf will be created for you"
+ echo ' /etc/nsswitch.conf will be created for you'
convert_host_conf /etc/host.conf /etc/nsswitch.conf
fi
fi
@@ -247,9 +247,9 @@ network_pass1() {
[Yy][Ee][Ss])
if [ "${firewall_in_kernel}" -eq 0 ] && kldload ipfw; then
firewall_in_kernel=1
- echo "Kernel firewall module loaded."
+ echo 'Kernel firewall module loaded'
elif [ "${firewall_in_kernel}" -eq 0 ]; then
- echo "Warning: firewall kernel module failed to load."
+ echo 'Warning: firewall kernel module failed to load'
fi
;;
esac
@@ -288,9 +288,9 @@ network_pass1() {
echo '.'
elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then
- echo -n "Warning: kernel has firewall functionality, "
- echo "but firewall rules are not enabled."
- echo " All ip services are disabled."
+ echo 'Warning: kernel has firewall functionality,' \
+ 'but firewall rules are not enabled.'
+ echo ' All ip services are disabled.'
fi
case ${firewall_logging} in
@@ -451,7 +451,7 @@ network_pass1() {
;;
esac
- echo -n 'routing daemons:'
+ echo -n 'Routing daemons:'
case ${router_enable} in
[Yy][Ee][Ss])
echo -n " ${router}"; ${router} ${router_flags}
diff --git a/etc/rc.d/pccard b/etc/rc.d/pccard
index 8ba141d..63ac577 100644
--- a/etc/rc.d/pccard
+++ b/etc/rc.d/pccard
@@ -31,7 +31,7 @@
case ${pccard_enable} in
[Yy][Ee][Ss])
- echo "Enable PC-card."
+ echo 'Enable PC-card:'
case ${pccard_mem} in
[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
@@ -51,5 +51,6 @@ case ${pccard_enable} in
fi
pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
+ echo '.'
;;
esac
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 04b83dd..1e67911 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -40,12 +40,12 @@ network_pass1() {
# Convert host.conf to nsswitch.conf if necessary
if [ -f "/etc/host.conf" ]; then
- echo ""
- echo "Warning: /etc/host.conf is no longer used"
+ echo ''
+ echo 'Warning: /etc/host.conf is no longer used'
if [ -f "/etc/nsswitch.conf" ]; then
- echo " /etc/nsswitch.conf will be used instead"
+ echo ' /etc/nsswitch.conf will be used instead'
else
- echo " /etc/nsswitch.conf will be created for you"
+ echo ' /etc/nsswitch.conf will be created for you'
convert_host_conf /etc/host.conf /etc/nsswitch.conf
fi
fi
@@ -247,9 +247,9 @@ network_pass1() {
[Yy][Ee][Ss])
if [ "${firewall_in_kernel}" -eq 0 ] && kldload ipfw; then
firewall_in_kernel=1
- echo "Kernel firewall module loaded."
+ echo 'Kernel firewall module loaded'
elif [ "${firewall_in_kernel}" -eq 0 ]; then
- echo "Warning: firewall kernel module failed to load."
+ echo 'Warning: firewall kernel module failed to load'
fi
;;
esac
@@ -288,9 +288,9 @@ network_pass1() {
echo '.'
elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then
- echo -n "Warning: kernel has firewall functionality, "
- echo "but firewall rules are not enabled."
- echo " All ip services are disabled."
+ echo 'Warning: kernel has firewall functionality,' \
+ 'but firewall rules are not enabled.'
+ echo ' All ip services are disabled.'
fi
case ${firewall_logging} in
@@ -451,7 +451,7 @@ network_pass1() {
;;
esac
- echo -n 'routing daemons:'
+ echo -n 'Routing daemons:'
case ${router_enable} in
[Yy][Ee][Ss])
echo -n " ${router}"; ${router} ${router_flags}
OpenPOWER on IntegriCloud