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"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to