[Fai-commit] r4533 - trunk/lib

lange at alioth.debian.org lange at alioth.debian.org
Tue Aug 28 09:21:41 UTC 2007


Author: lange
Date: 2007-08-28 09:21:41 +0000 (Tue, 28 Aug 2007)
New Revision: 4533

Modified:
   trunk/lib/subroutines
Log:
mount swap partitions with identical priority


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2007-08-21 23:42:49 UTC (rev 4532)
+++ trunk/lib/subroutines	2007-08-28 09:21:41 UTC (rev 4533)
@@ -370,7 +370,7 @@
     # mount swap space
     local sd
     for sd in $SWAPLIST; do
-	swapon $sd && [ "$verbose" ] && echo "Enable swap device $sd"
+	swapon -p1 $sd && [ "$verbose" ] && echo "Enable swap device $sd"
     done
     mount2dir $FAI_ROOT $LOGDIR/fstab
 }




More information about the Fai-commit mailing list