mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
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:
parent
b860cb2652
commit
9dbd9d018b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189624
|
@ -11,7 +11,7 @@
|
|||
|
||||
name="swap1"
|
||||
start_cmd='swapon -aq'
|
||||
stop_cmd=':'
|
||||
stop_cmd='swapoff -aq'
|
||||
|
||||
load_rc_config swap
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in a new issue