fix broken whitespace -- no functional changes
This commit is contained in:
parent
bd34df6361
commit
e1b09daaac
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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}"
|
||||
;;
|
||||
|
||||
|
@ -15,5 +15,5 @@ depend()
|
||||
|
||||
start_pre()
|
||||
{
|
||||
mkdir -p $(dirname $pidfile)
|
||||
mkdir -p $(dirname $pidfile)
|
||||
}
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user