3 # $NetBSD: swap2,v 1.6 2002/03/22 04:34:00 thorpej Exp $
7 # PROVIDE: nonlocalswap
8 # REQUIRE: mountcritremote
14 start_cmd="swap2_start"
18 # "Critical" file systems are now mounted. Go ahead and swap
19 # to files now, since they will be residing in the critical file
20 # systems (or, at least, they should be...).
21 # Check for no swap, and warn about it unless that is desired.
24 if ! checkyesno no_swap; then
25 if swapctl -s | grep "no swap devices configured" > /dev/null;
27 warn "No swap space configured!"
32 # Remove all non-block-type swap devices
34 stop_cmd="swapctl -U -t noblk"