[Frugalware-darcs] setup-current: use raidconfig during partitioning

VMiklos mamajom at axelero.hu
Thu Mar 16 18:05:13 CET 2006


[use raidconfig during partitioning
VMiklos <mamajom at axelero.hu>**20050719173501] {
hunk ./src/setup 194
-		echo "--aspect 20 --ok-label \"$select\" --cancel-label \"$continue\" --menu \"$selhdd\" 0 0 0 \\">>$selhdm
+		echo "--aspect 30 --ok-label \"$select\" --cancel-label \"$continue\" --extra-button --extra-label \"$createraid\" --menu \"$selhdd\" 0 0 0 \\">>$selhdm
hunk ./src/setup 197
-		$selhdm || break; # aborted when choosing hds
+		$selhdm
+		ret=$?
+		[ "$ret" = 3 ] && raidconfig && continue;
+		[ "$ret" = 1 ] && break; # aborted when choosing hds
hunk ./src/setup.en 41
+createraid="Create RAID"
hunk ./src/setup.hu 26
+createraid="RAID létrehozása"
}


More information about the Frugalware-darcs mailing list