svn commit: r238416 - in head/etc: . defaults rc.d
Kevin Lo
kevlo at FreeBSD.org
Fri Jul 13 06:46:10 UTC 2012
Author: kevlo
Date: Fri Jul 13 06:46:09 2012
New Revision: 238416
URL: http://svn.freebsd.org/changeset/base/238416
Log:
Whitespace nit
Modified:
head/etc/defaults/periodic.conf
head/etc/defaults/rc.conf
head/etc/rc.d/bgfsck
head/etc/rc.d/bridge
head/etc/rc.d/cleanvar
head/etc/rc.d/devd
head/etc/rc.d/kldxref
head/etc/rc.d/named
head/etc/rc.d/power_profile
head/etc/rc.d/tmp
head/etc/rc.firewall
head/etc/rc.subr
Modified: head/etc/defaults/periodic.conf
==============================================================================
--- head/etc/defaults/periodic.conf Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/defaults/periodic.conf Fri Jul 13 06:46:09 2012 (r238416)
@@ -275,7 +275,7 @@ monthly_local="/etc/monthly.local" # L
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
Modified: head/etc/defaults/rc.conf
==============================================================================
--- head/etc/defaults/rc.conf Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/defaults/rc.conf Fri Jul 13 06:46:09 2012 (r238416)
@@ -713,7 +713,7 @@ jail_sysvipc_allow="NO" # Allow SystemV
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
Modified: head/etc/rc.d/bgfsck
==============================================================================
--- head/etc/rc.d/bgfsck Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/bgfsck Fri Jul 13 06:46:09 2012 (r238416)
@@ -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}
Modified: head/etc/rc.d/bridge
==============================================================================
--- head/etc/rc.d/bridge Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/bridge Fri Jul 13 06:46:09 2012 (r238416)
@@ -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
Modified: head/etc/rc.d/cleanvar
==============================================================================
--- head/etc/rc.d/cleanvar Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/cleanvar Fri Jul 13 06:46:09 2012 (r238416)
@@ -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
Modified: head/etc/rc.d/devd
==============================================================================
--- head/etc/rc.d/devd Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/devd Fri Jul 13 06:46:09 2012 (r238416)
@@ -26,7 +26,7 @@ find_pidfile()
fi
}
-devd_prestart ()
+devd_prestart()
{
find_pidfile
Modified: head/etc/rc.d/kldxref
==============================================================================
--- head/etc/rc.d/kldxref Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/kldxref Fri Jul 13 06:46:09 2012 (r238416)
@@ -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
Modified: head/etc/rc.d/named
==============================================================================
--- head/etc/rc.d/named Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/named Fri Jul 13 06:46:09 2012 (r238416)
@@ -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
Modified: head/etc/rc.d/power_profile
==============================================================================
--- head/etc/rc.d/power_profile Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/power_profile Fri Jul 13 06:46:09 2012 (r238416)
@@ -27,7 +27,7 @@ LOGGER="logger -t power_profile -p daemo
# $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
Modified: head/etc/rc.d/tmp
==============================================================================
--- head/etc/rc.d/tmp Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.d/tmp Fri Jul 13 06:46:09 2012 (r238416)
@@ -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}"
Modified: head/etc/rc.firewall
==============================================================================
--- head/etc/rc.firewall Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.firewall Fri Jul 13 06:46:09 2012 (r238416)
@@ -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
############
Modified: head/etc/rc.subr
==============================================================================
--- head/etc/rc.subr Fri Jul 13 04:22:08 2012 (r238415)
+++ head/etc/rc.subr Fri Jul 13 06:46:09 2012 (r238416)
@@ -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
More information about the svn-src-head
mailing list