summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2000-02-03 06:06:36 +0000
committernsayer <nsayer@FreeBSD.org>2000-02-03 06:06:36 +0000
commita45c89719d6f7a1d62e0fad96d7f28bc26b4b82e (patch)
tree9df8bdc99255716d881c6c1abd997c51208aa3e4 /etc/rc
parent37c6a12d32bb819ba3c6730ed7038f1f4d396cdb (diff)
downloadFreeBSD-src-a45c89719d6f7a1d62e0fad96d7f28bc26b4b82e.zip
FreeBSD-src-a45c89719d6f7a1d62e0fad96d7f28bc26b4b82e.tar.gz
/dev/vn0b is a character device now.
Approved by: jkh
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index ac5a2c3..5fb737ef 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud