From 9e3b28a80f03f480e221abb920abc7c470aa1fc3 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 10 Apr 2001 16:15:01 +0000 Subject: [PATCH] vnconfig(8) -> mdconfig(8). Reviewed by: phk --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index adbc9870971a..f298fe2ed003 100644 --- a/etc/rc +++ b/etc/rc @@ -346,9 +346,9 @@ case ${swapfile} in [Nn][Oo] | '') ;; *) - if [ -w "${swapfile}" -a -c /dev/vn0b ]; then + if [ -w "${swapfile}" -a -c /dev/mdctl ]; then echo "Adding ${swapfile} as additional swap" - vnconfig /dev/vn0b ${swapfile} && swapon /dev/vn0b + mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev} fi ;; esac