vnconfig(8) -> mdconfig(8).
Reviewed by: phk
This commit is contained in:
parent
e572fcd463
commit
9e3b28a80f
4
etc/rc
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user