fix broken whitespace -- no functional changes

This commit is contained in:
Mike Frysinger 2008-03-23 12:24:15 +00:00
parent bd34df6361
commit e1b09daaac
8 changed files with 18 additions and 18 deletions

View File

@ -46,7 +46,7 @@ save()
stop()
{
# Don't tweak the hardware clock on LiveCD halt.
# Don't tweak the hardware clock on LiveCD halt.
if yesno "${clock_systohc:-${CLOCK_SYSTOHC}}"; then
[ -z "${CDBOOT}" ] && save
fi

View File

@ -14,9 +14,9 @@ depend() {
}
start_pre() {
sysctl hw.bus.devctl_disable=0 >/dev/null
sysctl hw.bus.devctl_disable=0 >/dev/null
}
stop_post() {
sysctl hw.bus.devctl_disable=1 >/dev/null
sysctl hw.bus.devctl_disable=1 >/dev/null
}

View File

@ -87,7 +87,7 @@ start() {
# Only IPs and nets in firewall_allowservices is allowed in.
for i in ${ipfw_ip_in}; do
for p in ${ipfw_ports_in}; do
ipfw add pass tcp from ${i} to me ${p}
ipfw add pass tcp from ${i} to me ${p}
done
done

View File

@ -64,7 +64,7 @@ start()
for font in /usr/share/consolefonts/"${consolefont}".*; do
:
done
done
cp "${font}" "${RC_LIBDIR}"/console
echo "${font##*/}" > "${RC_LIBDIR}"/console/font
if yesno ${unicode:-${UNICODE}}; then

View File

@ -61,15 +61,15 @@ start()
mapfile)
local entry=
while read entry; do
case "${entry}" in
case "${entry}" in
\#*|"")
continue
;;
continue
;;
*)
cmd="${wsctl} -w \"map+=${entry}\""
eval "${cmd} >/dev/null"
;;
esac
cmd="${wsctl} -w \"map+=${entry}\""
eval "${cmd} >/dev/null"
;;
esac
done < "${arg1}"
;;

View File

@ -15,5 +15,5 @@ depend()
start_pre()
{
mkdir -p $(dirname $pidfile)
mkdir -p $(dirname $pidfile)
}

View File

@ -62,7 +62,7 @@ start_pre()
# Copy local timezone information if it is not up to date.
if [ -r /etc/localtime ]; then
cmp -s /etc/localtime "${named_chroot}/etc/localtime" ||
cp -p /etc/localtime "${named_chroot}/etc/localtime"
cp -p /etc/localtime "${named_chroot}/etc/localtime"
fi
command_args="${command_args} -t ${named_chroot}"
@ -72,7 +72,7 @@ start_pre()
if [ ! -s "${named_chroot}${namedb}/rndc.conf" ]; then
local confgen="${command%/named}/rndc-confgen -a -b256 -u ${named_uid} \
-c ${named_chrootdir}/etc/namedb/rndc.key"
-c ${named_chrootdir}/etc/namedb/rndc.key"
if [ -s "${named_chroot}${namedb}/rndc.key" ]; then
local getuser="stat -f%Su"
[ "${RC_UNAME}" = "Linux" ] && getuser="stat -c%U"

View File

@ -46,14 +46,14 @@ start()
for x in ${net_fs_list}; do
case "${x}" in
nfs|nfs4)
# If the nfsmount script took care of the nfs
# If the nfsmount script took care of the nfs
# filesystems, then there's no point in trying
# them twice
service_started nfsmount && continue
# Only try to mount NFS filesystems if portmap was
# Only try to mount NFS filesystems if portmap was
# started. This is to fix "hang" problems for new
# users who do not add portmap to the default runlevel.
# users who do not add portmap to the default runlevel.
if need_portmap && ! service_started "${pmap}"; then
continue
fi