svn commit: r189624 - head/etc/rc.d
Guido van Rooij
guido at FreeBSD.org
Tue Mar 10 08:19:51 PDT 2009
Author: guido
Date: Tue Mar 10 15:19:49 2009
New Revision: 189624
URL: http://svn.freebsd.org/changeset/base/189624
Log:
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)
Modified:
head/etc/rc.d/swap1
Modified: head/etc/rc.d/swap1
==============================================================================
--- head/etc/rc.d/swap1 Tue Mar 10 14:52:17 2009 (r189623)
+++ head/etc/rc.d/swap1 Tue Mar 10 15:19:49 2009 (r189624)
@@ -11,7 +11,7 @@
name="swap1"
start_cmd='swapon -aq'
-stop_cmd=':'
+stop_cmd='swapoff -aq'
load_rc_config swap
run_rc_command "$1"
More information about the svn-src-head
mailing list