Whitespace nit
This commit is contained in:
parent
1221371f4a
commit
1424b561e1
@ -275,7 +275,7 @@ monthly_local="/etc/monthly.local" # Local scripts
|
||||
|
||||
if [ -z "${source_periodic_confs_defined}" ]; then
|
||||
source_periodic_confs_defined=yes
|
||||
source_periodic_confs () {
|
||||
source_periodic_confs() {
|
||||
local i sourced_files
|
||||
|
||||
for i in ${periodic_conf_files}; do
|
||||
|
@ -713,7 +713,7 @@ jail_sysvipc_allow="NO" # Allow SystemV IPC use from within a jail
|
||||
|
||||
if [ -z "${source_rc_confs_defined}" ]; then
|
||||
source_rc_confs_defined=yes
|
||||
source_rc_confs () {
|
||||
source_rc_confs() {
|
||||
local i sourced_files
|
||||
for i in ${rc_conf_files}; do
|
||||
case ${sourced_files} in
|
||||
|
@ -14,7 +14,7 @@ rcvar="background_fsck"
|
||||
start_cmd="bgfsck_start"
|
||||
stop_cmd=":"
|
||||
|
||||
bgfsck_start ()
|
||||
bgfsck_start()
|
||||
{
|
||||
if [ -z "${rc_force}" ]; then
|
||||
background_fsck_delay=${background_fsck_delay:=0}
|
||||
|
@ -37,14 +37,14 @@ start_cmd="bridge_start"
|
||||
stop_cmd="bridge_stop"
|
||||
cmd=""
|
||||
|
||||
glob_int () {
|
||||
glob_int() {
|
||||
case "$1" in
|
||||
$2 ) true ;;
|
||||
* ) false ;;
|
||||
esac
|
||||
}
|
||||
|
||||
bridge_test () {
|
||||
bridge_test() {
|
||||
bridge=$1
|
||||
iface=$2
|
||||
|
||||
|
@ -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
|
||||
|
@ -26,7 +26,7 @@ find_pidfile()
|
||||
fi
|
||||
}
|
||||
|
||||
devd_prestart ()
|
||||
devd_prestart()
|
||||
{
|
||||
find_pidfile
|
||||
|
||||
|
@ -15,7 +15,7 @@ name="kldxref"
|
||||
stop_cmd=":"
|
||||
start_cmd="kldxref_start"
|
||||
|
||||
kldxref_start () {
|
||||
kldxref_start() {
|
||||
if [ -n "$kldxref_module_path" ]; then
|
||||
MODULE_PATHS="$kldxref_module_path"
|
||||
else
|
||||
|
@ -96,7 +96,7 @@ make_symlinks()
|
||||
ln -fs "${named_chrootdir}${pidfile}" ${pidfile}
|
||||
}
|
||||
|
||||
named_poststart () {
|
||||
named_poststart() {
|
||||
make_symlinks
|
||||
|
||||
if checkyesno named_wait; then
|
||||
@ -156,7 +156,7 @@ named_poststop()
|
||||
fi
|
||||
}
|
||||
|
||||
create_file () {
|
||||
create_file() {
|
||||
if [ -e "$1" ]; then
|
||||
unlink $1
|
||||
fi
|
||||
|
@ -27,7 +27,7 @@ LOGGER="logger -t power_profile -p daemon.notice"
|
||||
# $highest_value: maximum value for this sysctl, when $value is "HIGH"
|
||||
# $lowest_value: minimum value for this sysctl, when $value is "LOW"
|
||||
#
|
||||
sysctl_set ()
|
||||
sysctl_set()
|
||||
{
|
||||
# Check if the node exists
|
||||
if [ -z "$(sysctl -n ${node} 2> /dev/null)" ]; then
|
||||
|
@ -37,7 +37,7 @@ stop_cmd=':'
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
mount_tmpmfs ()
|
||||
mount_tmpmfs()
|
||||
{
|
||||
if ! /bin/df /tmp | grep -q "^/dev/md[0-9]"; then
|
||||
mount_md ${tmpsize} /tmp "${tmpmfs_flags}"
|
||||
|
@ -78,7 +78,7 @@ fi
|
||||
# http://www.pearsonhighered.com/educator/academic/product/0,3110,020163466X,00.html
|
||||
#
|
||||
|
||||
setup_loopback () {
|
||||
setup_loopback() {
|
||||
############
|
||||
# Only in rare cases do you want to change these rules
|
||||
#
|
||||
@ -91,7 +91,7 @@ setup_loopback () {
|
||||
fi
|
||||
}
|
||||
|
||||
setup_ipv6_mandatory () {
|
||||
setup_ipv6_mandatory() {
|
||||
[ $ipv6_available -eq 0 ] || return 0
|
||||
|
||||
############
|
||||
|
@ -1593,7 +1593,7 @@ geli_make_list()
|
||||
|
||||
# Find scripts in local_startup directories that use the old syntax
|
||||
#
|
||||
find_local_scripts_old () {
|
||||
find_local_scripts_old() {
|
||||
zlist=''
|
||||
slist=''
|
||||
for dir in ${local_startup}; do
|
||||
@ -1612,7 +1612,7 @@ find_local_scripts_old () {
|
||||
done
|
||||
}
|
||||
|
||||
find_local_scripts_new () {
|
||||
find_local_scripts_new() {
|
||||
local_rc=''
|
||||
for dir in ${local_startup}; do
|
||||
if [ -d "${dir}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user