X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper;h=f57d406cc3f19d86fb778754863fb899e90842e5;hb=refs%2Ftags%2Fdebian%2F1.79%2Bdebian-3;hp=f070aa28ff0f05bb956d811bf3ba5313eb846d90;hpb=d6720db9b86cd1f0668123d069b5547dca4c713c;p=live-boot-grml.git diff --git a/scripts/casper b/scripts/casper index f070aa2..f57d406 100644 --- a/scripts/casper +++ b/scripts/casper @@ -95,7 +95,7 @@ parse_cmdline () PRESEEDS="${PRESEEDS}\"${question}=${value}\" " ;; console=*) - export DEFCONSOLE=$(sed -e 's%.*console=%console=%' /proc/cmdline) ;; + export DEFCONSOLE="${x#*=}" ;; esac done @@ -589,7 +589,7 @@ mountroot() { fi else # Scan local devices for the image - for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13; do + for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do livefs_root=$(find_livefs $i) if [ -n "${livefs_root}" ]; then break