/dev/vn0b is a character device now.

Approved by:	jkh
This commit is contained in:
Nick Sayer 2000-02-03 06:06:36 +00:00
parent b12cbc348c
commit 3ca9ee77a9

2
etc/rc
View File

@ -159,7 +159,7 @@ case ${swapfile} in
[Nn][Oo] | '')
;;
*)
if [ -w "${swapfile}" -a -b /dev/vn0b ]; then
if [ -w "${swapfile}" -a -c /dev/vn0b ]; then
echo "Adding ${swapfile} as additional swap."
vnconfig /dev/vn0b ${swapfile} && swapon /dev/vn0b
fi