summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-07-13 06:46:09 +0000
committerkevlo <kevlo@FreeBSD.org>2012-07-13 06:46:09 +0000
commitc587547ed2263683f64131b4513727cc85252d33 (patch)
tree7071841aa7fc292090d464218891f487c92ea122 /etc
parent28a7eca4eb47f6b8e9d9603ad2c9afdc4c11b44d (diff)
downloadFreeBSD-src-c587547ed2263683f64131b4513727cc85252d33.zip
FreeBSD-src-c587547ed2263683f64131b4513727cc85252d33.tar.gz
Whitespace nit
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/periodic.conf2
-rw-r--r--etc/defaults/rc.conf2
-rwxr-xr-xetc/rc.d/bgfsck2
-rwxr-xr-xetc/rc.d/bridge4
-rwxr-xr-xetc/rc.d/cleanvar2
-rwxr-xr-xetc/rc.d/devd2
-rwxr-xr-xetc/rc.d/kldxref2
-rwxr-xr-xetc/rc.d/named4
-rwxr-xr-xetc/rc.d/power_profile2
-rwxr-xr-xetc/rc.d/tmp2
-rw-r--r--etc/rc.firewall4
-rw-r--r--etc/rc.subr4
12 files changed, 16 insertions, 16 deletions
diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf
index 8692b30..887dc96 100644
--- a/etc/defaults/periodic.conf
+++ b/etc/defaults/periodic.conf
@@ -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
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index c04dab2b..41d1dca 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -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
diff --git a/etc/rc.d/bgfsck b/etc/rc.d/bgfsck
index 77b8bed..18468f5 100755
--- a/etc/rc.d/bgfsck
+++ b/etc/rc.d/bgfsck
@@ -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}
diff --git a/etc/rc.d/bridge b/etc/rc.d/bridge
index 2c3bfd0..4c3b340 100755
--- a/etc/rc.d/bridge
+++ b/etc/rc.d/bridge
@@ -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
diff --git a/etc/rc.d/cleanvar b/etc/rc.d/cleanvar
index dade4a2..95dc77e 100755
--- a/etc/rc.d/cleanvar
+++ b/etc/rc.d/cleanvar
@@ -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
diff --git a/etc/rc.d/devd b/etc/rc.d/devd
index 7a95684..5976979 100755
--- a/etc/rc.d/devd
+++ b/etc/rc.d/devd
@@ -26,7 +26,7 @@ find_pidfile()
fi
}
-devd_prestart ()
+devd_prestart()
{
find_pidfile
diff --git a/etc/rc.d/kldxref b/etc/rc.d/kldxref
index 40140cc..744036f 100755
--- a/etc/rc.d/kldxref
+++ b/etc/rc.d/kldxref
@@ -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
diff --git a/etc/rc.d/named b/etc/rc.d/named
index 676de76..3174328 100755
--- a/etc/rc.d/named
+++ b/etc/rc.d/named
@@ -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
diff --git a/etc/rc.d/power_profile b/etc/rc.d/power_profile
index 03d36be..581e861 100755
--- a/etc/rc.d/power_profile
+++ b/etc/rc.d/power_profile
@@ -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
diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp
index dfb439e..8372598 100755
--- a/etc/rc.d/tmp
+++ b/etc/rc.d/tmp
@@ -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}"
diff --git a/etc/rc.firewall b/etc/rc.firewall
index d5f2dbe..d8a3f6c 100644
--- a/etc/rc.firewall
+++ b/etc/rc.firewall
@@ -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
############
diff --git a/etc/rc.subr b/etc/rc.subr
index 4c445a0..86442d4 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -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
OpenPOWER on IntegriCloud