fix broken whitespace -- no functional changes
This commit is contained in:
parent
bd34df6361
commit
e1b09daaac
@ -46,7 +46,7 @@ save()
|
|||||||
|
|
||||||
stop()
|
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
|
if yesno "${clock_systohc:-${CLOCK_SYSTOHC}}"; then
|
||||||
[ -z "${CDBOOT}" ] && save
|
[ -z "${CDBOOT}" ] && save
|
||||||
fi
|
fi
|
||||||
|
@ -14,9 +14,9 @@ depend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
sysctl hw.bus.devctl_disable=0 >/dev/null
|
sysctl hw.bus.devctl_disable=0 >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
stop_post() {
|
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.
|
# Only IPs and nets in firewall_allowservices is allowed in.
|
||||||
for i in ${ipfw_ip_in}; do
|
for i in ${ipfw_ip_in}; do
|
||||||
for p in ${ipfw_ports_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
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ start()
|
|||||||
|
|
||||||
for font in /usr/share/consolefonts/"${consolefont}".*; do
|
for font in /usr/share/consolefonts/"${consolefont}".*; do
|
||||||
:
|
:
|
||||||
done
|
done
|
||||||
cp "${font}" "${RC_LIBDIR}"/console
|
cp "${font}" "${RC_LIBDIR}"/console
|
||||||
echo "${font##*/}" > "${RC_LIBDIR}"/console/font
|
echo "${font##*/}" > "${RC_LIBDIR}"/console/font
|
||||||
if yesno ${unicode:-${UNICODE}}; then
|
if yesno ${unicode:-${UNICODE}}; then
|
||||||
|
@ -61,15 +61,15 @@ start()
|
|||||||
mapfile)
|
mapfile)
|
||||||
local entry=
|
local entry=
|
||||||
while read entry; do
|
while read entry; do
|
||||||
case "${entry}" in
|
case "${entry}" in
|
||||||
\#*|"")
|
\#*|"")
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
cmd="${wsctl} -w \"map+=${entry}\""
|
cmd="${wsctl} -w \"map+=${entry}\""
|
||||||
eval "${cmd} >/dev/null"
|
eval "${cmd} >/dev/null"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done < "${arg1}"
|
done < "${arg1}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -15,5 +15,5 @@ depend()
|
|||||||
|
|
||||||
start_pre()
|
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.
|
# Copy local timezone information if it is not up to date.
|
||||||
if [ -r /etc/localtime ]; then
|
if [ -r /etc/localtime ]; then
|
||||||
cmp -s /etc/localtime "${named_chroot}/etc/localtime" ||
|
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
|
fi
|
||||||
|
|
||||||
command_args="${command_args} -t ${named_chroot}"
|
command_args="${command_args} -t ${named_chroot}"
|
||||||
@ -72,7 +72,7 @@ start_pre()
|
|||||||
|
|
||||||
if [ ! -s "${named_chroot}${namedb}/rndc.conf" ]; then
|
if [ ! -s "${named_chroot}${namedb}/rndc.conf" ]; then
|
||||||
local confgen="${command%/named}/rndc-confgen -a -b256 -u ${named_uid} \
|
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
|
if [ -s "${named_chroot}${namedb}/rndc.key" ]; then
|
||||||
local getuser="stat -f%Su"
|
local getuser="stat -f%Su"
|
||||||
[ "${RC_UNAME}" = "Linux" ] && getuser="stat -c%U"
|
[ "${RC_UNAME}" = "Linux" ] && getuser="stat -c%U"
|
||||||
|
@ -46,14 +46,14 @@ start()
|
|||||||
for x in ${net_fs_list}; do
|
for x in ${net_fs_list}; do
|
||||||
case "${x}" in
|
case "${x}" in
|
||||||
nfs|nfs4)
|
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
|
# filesystems, then there's no point in trying
|
||||||
# them twice
|
# them twice
|
||||||
service_started nfsmount && continue
|
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
|
# 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
|
if need_portmap && ! service_started "${pmap}"; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user