3 # Add additional swap files
5 # $FreeBSD: src/etc/rc.d/addswap,v 1.2 2002/10/12 10:31:31 schweikh Exp $
6 # $DragonFly: src/etc/rc.d/addswap,v 1.4 2005/11/19 21:47:32 swildner Exp $
10 # REQUIRE: mountcritlocal
16 start_cmd
="addswap_start"
25 if [ -w "${swapfile}" -a -c /dev
/vn0c
]; then
26 echo "Adding ${swapfile} as additional swap"
27 vnconfig
-e vn0c
${swapfile} swap