diff options
author | dteske <dteske@FreeBSD.org> | 2013-06-24 20:58:54 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-06-24 20:58:54 +0000 |
commit | b023066a1dfe3db9bdd5128fc8bfb22fe7af54a9 (patch) | |
tree | 1967c7f4c866b4ec9b293d0c52582771e2af5cc7 /usr.sbin/bsdconfig/share | |
parent | 8cfebcfd45a3da9b3fa8ef2bb3a000c4923440af (diff) | |
download | FreeBSD-src-b023066a1dfe3db9bdd5128fc8bfb22fe7af54a9.zip FreeBSD-src-b023066a1dfe3db9bdd5128fc8bfb22fe7af54a9.tar.gz |
More whitespace.
Diffstat (limited to 'usr.sbin/bsdconfig/share')
-rw-r--r-- | usr.sbin/bsdconfig/share/common.subr | 4 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/share/device.subr | 10 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/share/dialog.subr | 4 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/share/media/tcpip.subr | 4 | ||||
-rwxr-xr-x | usr.sbin/bsdconfig/share/packages/packages.subr | 6 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/share/sysrc.subr | 4 |
6 files changed, 16 insertions, 16 deletions
diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr index b005ebe..32d6aba 100644 --- a/usr.sbin/bsdconfig/share/common.subr +++ b/usr.sbin/bsdconfig/share/common.subr @@ -144,8 +144,8 @@ f_debug_init() while getopts "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" flag \ > /dev/null; do case "$flag" in - d) debug=1;; - D) debugFile="$OPTARG";; + d) debug=1 ;; + D) debugFile="$OPTARG" ;; esac done shift $(( $OPTIND - 1 )) diff --git a/usr.sbin/bsdconfig/share/device.subr b/usr.sbin/bsdconfig/share/device.subr index eb1af5a..5d13061 100644 --- a/usr.sbin/bsdconfig/share/device.subr +++ b/usr.sbin/bsdconfig/share/device.subr @@ -486,11 +486,11 @@ f_device_desc() # Sensible fall-backs for specific types # case "$__type" in - $DEVICE_TYPE_CDROM) __cp="<unknown cdrom device type>";; - $DEVICE_TYPE_DISK) __cp="<unknown disk device type>";; - $DEVICE_TYPE_FLOPPY) __cp="<unknown floppy device type>";; - $DEVICE_TYPE_USB) __cp="<unknown usb storage device type>";; - $DEVICE_TYPE_NETWORK) __cp="<unknown network interface type>";; + $DEVICE_TYPE_CDROM) __cp="<unknown cdrom device type>" ;; + $DEVICE_TYPE_DISK) __cp="<unknown disk device type>" ;; + $DEVICE_TYPE_FLOPPY) __cp="<unknown floppy device type>" ;; + $DEVICE_TYPE_USB) __cp="<unknown usb storage device type>" ;; + $DEVICE_TYPE_NETWORK) __cp="<unknown network interface type>" ;; *) __cp="<unknown device type>" esac diff --git a/usr.sbin/bsdconfig/share/dialog.subr b/usr.sbin/bsdconfig/share/dialog.subr index b089655..62954b8 100644 --- a/usr.sbin/bsdconfig/share/dialog.subr +++ b/usr.sbin/bsdconfig/share/dialog.subr @@ -2026,7 +2026,7 @@ f_dialog_init() "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" \ flag > /dev/null; do case "$flag" in - S) echo 1;; + S) echo 1 ;; esac done ) @@ -2035,7 +2035,7 @@ f_dialog_init() "$GETOPTS_STDARGS$GETOPTS_EXTRA$GETOPTS_ALLFLAGS" \ flag > /dev/null; do case "$flag" in - S|X) echo 1;; + S|X) echo 1 ;; esac done ) diff --git a/usr.sbin/bsdconfig/share/media/tcpip.subr b/usr.sbin/bsdconfig/share/media/tcpip.subr index 6a02a4f..0daada6 100644 --- a/usr.sbin/bsdconfig/share/media/tcpip.subr +++ b/usr.sbin/bsdconfig/share/media/tcpip.subr @@ -411,8 +411,8 @@ f_validate_netmask() # Return error if the field is an invalid integer case "$field" in - 0|128|192|224|240|248|252|254|255) :;; - *) return 5;; + 0|128|192|224|240|248|252|254|255) : ;; + *) return 5 ;; esac nfields=$(( $nfields + 1 )) diff --git a/usr.sbin/bsdconfig/share/packages/packages.subr b/usr.sbin/bsdconfig/share/packages/packages.subr index c8673d7..388fd24 100755 --- a/usr.sbin/bsdconfig/share/packages/packages.subr +++ b/usr.sbin/bsdconfig/share/packages/packages.subr @@ -197,7 +197,7 @@ f_package_calculate_totals() f_getvar _mark_$varpkg mark case "$mark" in ""|" ") : ;; - X) tinstalled=$(( $tinstalled + 1 ));; + X) tinstalled=$(( $tinstalled + 1 )) ;; *) tselected=$(( $tselected + 1 )) esac f_getvar _categories_$varpkg pkgcat @@ -206,7 +206,7 @@ f_package_calculate_totals() case "$mark" in ""|" ") : ;; X) debug= f_getvar _${varcat}_ninstalled n - setvar _${varcat}_ninstalled $(( $n + 1 ));; + setvar _${varcat}_ninstalled $(( $n + 1 )) ;; *) debug= f_getvar _${varcat}_nselected n setvar _${varcat}_nselected $(( $n + 1 )) esac @@ -381,7 +381,7 @@ f_package_menu_select() # Get number of packages for this category local npkgs=0 case "$category" in - "$msg_all"|"") npkgs="${_npkgs:-0}";; + "$msg_all"|"") npkgs="${_npkgs:-0}" ;; *) f_getvar _npkgs_$varcat npkgs esac diff --git a/usr.sbin/bsdconfig/share/sysrc.subr b/usr.sbin/bsdconfig/share/sysrc.subr index 36a550e..da5bc04 100644 --- a/usr.sbin/bsdconfig/share/sysrc.subr +++ b/usr.sbin/bsdconfig/share/sysrc.subr @@ -135,7 +135,7 @@ f_sysrc_get() case "$1" in [0-9]*) # Don't expand possible positional parameters - return $FAILURE;; + return $FAILURE ;; *) [ "$1" ] || return $FAILURE esac @@ -218,7 +218,7 @@ f_sysrc_get_default() case "$1" in [0-9]*) # Don't expand possible positional parameters - return $FAILURE;; + return $FAILURE ;; *) [ "$1" ] || return $FAILURE esac |