When swap resides on a mirror and it is not stopped, the mirror

is degraded upon the next reboot and will have to be rebuild.
Thus call swapoff when rebooting (read: when stopping swap1)
This commit is contained in:
Guido van Rooij 2009-03-10 15:19:49 +00:00
parent b860cb2652
commit 9dbd9d018b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189624

View file

@ -11,7 +11,7 @@
name="swap1"
start_cmd='swapon -aq'
stop_cmd=':'
stop_cmd='swapoff -aq'
load_rc_config swap
run_rc_command "$1"