summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2006-01-17 19:29:31 +0000
committerphilip <philip@FreeBSD.org>2006-01-17 19:29:31 +0000
commit00ce0e8a4aa43e52992230dc001c264522c08e86 (patch)
tree7b367f101b9dfcc3729b67c302d937fce924eb15 /etc
parenta0282ebc04163163dc358c05c9071f8b0f17a9eb (diff)
downloadFreeBSD-src-00ce0e8a4aa43e52992230dc001c264522c08e86.zip
FreeBSD-src-00ce0e8a4aa43e52992230dc001c264522c08e86.tar.gz
Remove the module loading magic again; it's not needed after all.
Pointy hat to: matteo Submitted by: matteo Reviewed by: pjd MFC after: 3 days
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/addswap8
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/rc.d/addswap b/etc/rc.d/addswap
index 8a473e1..cc012ae 100644
--- a/etc/rc.d/addswap
+++ b/etc/rc.d/addswap
@@ -23,14 +23,6 @@ addswap_start()
;;
*)
if [ -w "${swapfile}" ]; then
- if ! kldstat -q -m g_md ; then
- if kldload g_md ; then
- info 'g_md module loaded.'
- else
- warn 'g_md module failed to load.'
- return 1
- fi
- fi
echo "Adding ${swapfile} as additional swap"
mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev}
fi
OpenPOWER on IntegriCloud