3 # $NetBSD: swap1,v 1.8 2002/03/24 15:52:41 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/swap1,v 1.3 2002/09/06 16:18:05 gordon Exp $
5 # $DragonFly: src/etc/rc.d/swap1,v 1.1 2003/07/24 06:35:37 dillon Exp $
10 # KEYWORD: DragonFly FreeBSD NetBSD shutdown
27 # Add all block-type swap devices; these might be necessary
30 start_cmd="swap1_start"
35 # Add all block-type swap devices; these might be necessary
40 if ! checkyesno no_swap; then
45 # Remove all block-type swap devices
49 if checkyesno swapoff || [ -n "$rc_force" ]; then
50 echo "Removing block-type swap devices"