diff --git a/etc/rc b/etc/rc index a6ed4e9e6512..f216c8a1965a 100644 --- a/etc/rc +++ b/etc/rc @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.103 1996/10/28 08:28:02 joerg Exp $ +# $Id: rc,v 1.104 1996/11/01 09:45:51 peter Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -92,7 +92,7 @@ if [ -f /etc/sysconfig ]; then fi # Add additional swapfile, if configured. -if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -f /dev/vn0b ]; then +if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then echo "Adding $swapfile as additional swap." /usr/sbin/vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b fi