diff options
author | ru <ru@FreeBSD.org> | 2001-04-10 16:15:01 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-04-10 16:15:01 +0000 |
commit | 367b1f6b19a0f7e6d52fd240a8610fe5e5b861a1 (patch) | |
tree | 282824a438023c6285db065a1e3e9972f065b0c1 /etc/rc | |
parent | adb816942e1e14a900a1088aa386bb7eaf7f438f (diff) | |
download | FreeBSD-src-367b1f6b19a0f7e6d52fd240a8610fe5e5b861a1.zip FreeBSD-src-367b1f6b19a0f7e6d52fd240a8610fe5e5b861a1.tar.gz |
vnconfig(8) -> mdconfig(8).
Reviewed by: phk
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |