diff options
author | guido <guido@FreeBSD.org> | 2009-03-10 15:19:49 +0000 |
---|---|---|
committer | guido <guido@FreeBSD.org> | 2009-03-10 15:19:49 +0000 |
commit | 6ff61b7dceb7f17c38ba1c3e5567bf902617923a (patch) | |
tree | 659b6eed44d3f05a2df9c3c127432a8969456539 /etc/rc.d | |
parent | 3a33392c2f816de077c726b718d1832a8fefcda3 (diff) | |
download | FreeBSD-src-6ff61b7dceb7f17c38ba1c3e5567bf902617923a.zip FreeBSD-src-6ff61b7dceb7f17c38ba1c3e5567bf902617923a.tar.gz |
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)
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/swap1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/swap1 b/etc/rc.d/swap1 index 71a1908..b51b151 100755 --- a/etc/rc.d/swap1 +++ b/etc/rc.d/swap1 @@ -11,7 +11,7 @@ name="swap1" start_cmd='swapon -aq' -stop_cmd=':' +stop_cmd='swapoff -aq' load_rc_config swap run_rc_command "$1" |