summaryrefslogtreecommitdiffstats
path: root/etc/rc.atm
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.atm
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.atm')
-rw-r--r--etc/rc.atm26
1 files changed, 13 insertions, 13 deletions
diff --git a/etc/rc.atm b/etc/rc.atm
index 834219b..88e4354 100644
--- a/etc/rc.atm
+++ b/etc/rc.atm
@@ -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
OpenPOWER on IntegriCloud