summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-03 10:21:35 +0000
committerdes <des@FreeBSD.org>2004-02-03 10:21:35 +0000
commit7e900b0c950743c10fa9f302666dbdb6254ae8a3 (patch)
tree7316939d97ad06e259058bd6b952aac69170ff43 /etc
parentca81ad4e6b755431ebfad40746b2b53d3bb527d3 (diff)
downloadFreeBSD-src-7e900b0c950743c10fa9f302666dbdb6254ae8a3.zip
FreeBSD-src-7e900b0c950743c10fa9f302666dbdb6254ae8a3.tar.gz
Style fixes.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/gbde18
1 files changed, 13 insertions, 5 deletions
diff --git a/etc/rc.d/gbde b/etc/rc.d/gbde
index 900afc7..9f64ae3 100644
--- a/etc/rc.d/gbde
+++ b/etc/rc.d/gbde
@@ -21,15 +21,21 @@ find_gbde_devices()
{
case "${gbde_devices-auto}" in
[Aa][Uu][Tt][Oo])
- gbde_devices="";;
+ gbde_devices=""
+ ;;
*)
- return 0;;
+ return 0
+ ;;
esac
case "$1" in
- start) fstab="/etc/fstab";;
- stop) fstab=$(mktemp /tmp/mtab.XXXXXX)
+ start)
+ fstab="/etc/fstab"
+ ;;
+ stop)
+ fstab=$(mktemp /tmp/mtab.XXXXXX)
mount -p >${fstab}
+ ;;
esac
#
@@ -61,7 +67,9 @@ find_gbde_devices()
done <${fstab}
case "$1" in
- stop) rm -f ${fstab};;
+ stop)
+ rm -f ${fstab}
+ ;;
esac
return 0
OpenPOWER on IntegriCloud