summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/addswap
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
committerschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
commitb7d872536535fe8afd8ad5080a504fa41a77c095 (patch)
treec750ff3f496fe6079fff457037e64eba1f20e162 /etc/rc.d/addswap
parentc60d03847fad771361b5a5590015bfe65a1b3023 (diff)
downloadFreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.zip
FreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.tar.gz
Fix style bugs:
* Space -> tabs conversion. * Removed blanks before semicolon in "if ... ; then". * Proper indentation of misindented lines. * Put a full stop after some comments. * Removed whitespace at end of line. Approved by: silence from gordon
Diffstat (limited to 'etc/rc.d/addswap')
-rw-r--r--etc/rc.d/addswap2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/addswap b/etc/rc.d/addswap
index 12233d7..e2ddccd 100644
--- a/etc/rc.d/addswap
+++ b/etc/rc.d/addswap
@@ -24,7 +24,7 @@ addswap_start()
*)
if [ -w "${swapfile}" -a -c /dev/mdctl ]; then
echo "Adding ${swapfile} as additional swap"
- mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev}
+ mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev}
fi
;;
esac
OpenPOWER on IntegriCloud