summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-05-14 04:53:57 +0000
committerdougb <dougb@FreeBSD.org>2010-05-14 04:53:57 +0000
commit3df3a625bf1926431742b6a3421723fc42263dc5 (patch)
tree88e7208a73aa8d5bb88851b74f8f235fc7ad95a3 /etc/rc.d
parent9fac5e5d90a6df9e531246d75f76898ea69ddee1 (diff)
downloadFreeBSD-src-3df3a625bf1926431742b6a3421723fc42263dc5.zip
FreeBSD-src-3df3a625bf1926431742b6a3421723fc42263dc5.tar.gz
Remove trailing white space. No functional changes.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/bluetooth6
-rwxr-xr-xetc/rc.d/bridge2
-rwxr-xr-xetc/rc.d/cleanvar2
-rwxr-xr-xetc/rc.d/defaultroute2
-rwxr-xr-xetc/rc.d/geli2
-rwxr-xr-xetc/rc.d/geli22
-rwxr-xr-xetc/rc.d/ipfw4
-rwxr-xr-xetc/rc.d/mdconfig6
-rwxr-xr-xetc/rc.d/mdconfig24
-rwxr-xr-xetc/rc.d/nscd2
-rwxr-xr-xetc/rc.d/rfcomm_pppd_server4
-rwxr-xr-xetc/rc.d/stf4
-rwxr-xr-xetc/rc.d/syscons2
-rwxr-xr-xetc/rc.d/ubthidhci4
14 files changed, 23 insertions, 23 deletions
diff --git a/etc/rc.d/bluetooth b/etc/rc.d/bluetooth
index 20e48c6..183f835 100755
--- a/etc/rc.d/bluetooth
+++ b/etc/rc.d/bluetooth
@@ -95,7 +95,7 @@ bluetooth_setup_stack()
hook=$1
shift
- # Setup HCI
+ # Setup HCI
ngctl mkpeer ${dev}: hci ${hook} drv \
> /dev/null 2>&1 || return 1
@@ -282,7 +282,7 @@ bluetooth_start()
;;
esac
- # Be backward compatible and setup reasonable defaults
+ # Be backward compatible and setup reasonable defaults
bluetooth_device_authentication_enable="0"
bluetooth_device_class="ff:01:0c"
bluetooth_device_connectable="1"
@@ -312,7 +312,7 @@ bluetooth_start()
bluetooth_shutdown_stack $dev
err 1 "Unable to setup Bluetooth stack for device ${dev}"
fi
-
+
return 0
}
diff --git a/etc/rc.d/bridge b/etc/rc.d/bridge
index 5c8f61a..2727038 100755
--- a/etc/rc.d/bridge
+++ b/etc/rc.d/bridge
@@ -42,7 +42,7 @@ glob_int () {
$2 ) true ;;
* ) false ;;
esac
-}
+}
bridge_test () {
bridge=$1
diff --git a/etc/rc.d/cleanvar b/etc/rc.d/cleanvar
index d4b5b14..490b5c5 100755
--- a/etc/rc.d/cleanvar
+++ b/etc/rc.d/cleanvar
@@ -54,7 +54,7 @@ cleanvar_prestart()
rm -f /var/run/clean_var /var/spool/lock/clean_var
}
-cleanvar_start ()
+cleanvar_start ()
{
if [ -d /var/run -a ! -f /var/run/clean_var ]; then
purgedir /var/run
diff --git a/etc/rc.d/defaultroute b/etc/rc.d/defaultroute
index b4dc373..647dc41 100755
--- a/etc/rc.d/defaultroute
+++ b/etc/rc.d/defaultroute
@@ -28,7 +28,7 @@ defaultroute_start()
[ -z "${dhcp_interfaces}" ] && return
carrier=false
for _if in ${dhcp_interfaces}; do
- output=`/sbin/ifconfig ${_if}`
+ output=`/sbin/ifconfig ${_if}`
nocarrier=`expr "${output}" : '.*[[:blank:]]status: \(no carrier\)'`
[ -z "${nocarrier}" ] && carrier=true
done
diff --git a/etc/rc.d/geli b/etc/rc.d/geli
index 253dbab..736b10a 100755
--- a/etc/rc.d/geli
+++ b/etc/rc.d/geli
@@ -11,7 +11,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/etc/rc.d/geli2 b/etc/rc.d/geli2
index 50f13aa..4726de0 100755
--- a/etc/rc.d/geli2
+++ b/etc/rc.d/geli2
@@ -11,7 +11,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw
index 689905d..3818bfc 100755
--- a/etc/rc.d/ipfw
+++ b/etc/rc.d/ipfw
@@ -30,14 +30,14 @@ ipfw_prestart()
if ! checkyesno natd_enable; then
required_modules="$required_modules ipfw_nat"
fi
- fi
+ fi
}
ipfw_start()
{
local _firewall_type
- _firewall_type=$1
+ _firewall_type=$1
# set the firewall rules script if none was specified
[ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall
diff --git a/etc/rc.d/mdconfig b/etc/rc.d/mdconfig
index 372cd7a..093c402 100755
--- a/etc/rc.d/mdconfig
+++ b/etc/rc.d/mdconfig
@@ -49,7 +49,7 @@ is_readonly()
*" ${_mp} "*read-only*)
echo "yes"
;;
-
+
*)
;;
esac;
@@ -139,7 +139,7 @@ mdconfig_start()
if ! eval ${_fsck_cmd} -p ${_dev} >/dev/null; then
echo "Fsck failed on ${_dev}, not mounting the filesystem."
continue
-
+
fi
else
newfs ${_newfs} ${_dev} >/dev/null
@@ -194,5 +194,5 @@ if [ -z "${_mdconfig_list}" ]; then
fi
done
fi
-
+
run_rc_command "${_mdconfig_cmd}"
diff --git a/etc/rc.d/mdconfig2 b/etc/rc.d/mdconfig2
index efd26a8..4b1535e 100755
--- a/etc/rc.d/mdconfig2
+++ b/etc/rc.d/mdconfig2
@@ -49,7 +49,7 @@ is_readonly()
*" ${_mp} "*read-only*)
echo "yes"
;;
-
+
*)
;;
esac;
@@ -223,5 +223,5 @@ if [ -z "${_mdconfig2_list}" ]; then
fi
done
fi
-
+
run_rc_command "${_mdconfig2_cmd}"
diff --git a/etc/rc.d/nscd b/etc/rc.d/nscd
index e66c0ae..42041a7 100755
--- a/etc/rc.d/nscd
+++ b/etc/rc.d/nscd
@@ -34,7 +34,7 @@ _nscd_set_option() {
_nscd_opt_val=$(eval "echo \$nscd_${_optname}")
_cached_opt_val=$(eval "echo \$cached_${_optname}")
-
+
if [ -n "$_cached_opt_val" -a "$_nscd_opt_val" != "$_defoptval" ]; then
warn "You should use nscd_${_optname} instead of" \
"cached_${_optname}"
diff --git a/etc/rc.d/rfcomm_pppd_server b/etc/rc.d/rfcomm_pppd_server
index 7b8067e..f666684 100755
--- a/etc/rc.d/rfcomm_pppd_server
+++ b/etc/rc.d/rfcomm_pppd_server
@@ -46,7 +46,7 @@ rfcomm_pppd_server_start_profile()
_channel=1
fi
rc_flags="${rc_flags} -C ${_channel}"
-
+
# Check for RFCOMM PPP profile register SP override
#
eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_sp
@@ -55,7 +55,7 @@ rfcomm_pppd_server_start_profile()
rc_flags="${rc_flags} -S"
fi
fi
-
+
# Check for RFCOMM PPP profile register DUN override
#
eval _x=\$rfcomm_pppd_server_${_profile_cleaned}_register_dun
diff --git a/etc/rc.d/stf b/etc/rc.d/stf
index bb7f5b5..feb7b52 100755
--- a/etc/rc.d/stf
+++ b/etc/rc.d/stf
@@ -49,7 +49,7 @@ stf_up()
esac
;;
esac
- echo "Configuring 6to4 tunnel interface: stf0."
+ echo "Configuring 6to4 tunnel interface: stf0."
ifconfig stf0 create >/dev/null 2>&1
ifconfig stf0 inet6 2002:${ipv4_in_hexformat}:${stf_interface_ipv6_slaid:-0}:${stf_interface_ipv6_ifid} \
prefixlen ${stf_prefixlen}
@@ -66,7 +66,7 @@ stf_up()
stf_down()
{
- echo "Removing 6to4 tunnel interface: stf0."
+ echo "Removing 6to4 tunnel interface: stf0."
ifconfig stf0 destroy
route delete -inet6 2002:e000:: -prefixlen 20 ::1
route delete -inet6 2002:7f00:: -prefixlen 24 ::1
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons
index 67e47af..815f0b2 100755
--- a/etc/rc.d/syscons
+++ b/etc/rc.d/syscons
@@ -121,7 +121,7 @@ syscons_configure_keyboard()
syscons_setkeyboard()
{
kbd=$1
-
+
if [ -z "${kbd}" ]; then
return 1
fi
diff --git a/etc/rc.d/ubthidhci b/etc/rc.d/ubthidhci
index 67d7346..529f8d6 100755
--- a/etc/rc.d/ubthidhci
+++ b/etc/rc.d/ubthidhci
@@ -4,8 +4,8 @@
#
# PROVIDE: ubthidhci
-# REQUIRE: DAEMON
-# BEFORE: bluetooth
+# REQUIRE: DAEMON
+# BEFORE: bluetooth
# KEYWORD: nojail shutdown
. /etc/rc.subr
OpenPOWER on IntegriCloud