diff --git a/etc/rc.d/addswap b/etc/rc.d/addswap index 8213a9077cdd..cc012ae613ab 100644 --- a/etc/rc.d/addswap +++ b/etc/rc.d/addswap @@ -22,7 +22,7 @@ addswap_start() [Nn][Oo] | '') ;; *) - if [ -w "${swapfile}" -a -c /dev/mdctl ]; then + if [ -w "${swapfile}" ]; then echo "Adding ${swapfile} as additional swap" mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev} fi