3 # Add additional swap files
9 # REQUIRE: mountcritlocal
16 start_cmd="addswap_start"
25 if [ -w "${swapfile}" -a -c /dev/mdctl ]; then
26 echo "Adding ${swapfile} as additional swap"
27 mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev}