Making the init interactive shells handle well console kernel parameters
with extra parameters, like console=ttyS0,115200. svn path=/nixos/trunk/; revision=33458
This commit is contained in:
parent
1d3c7e2a2d
commit
f4883572d8
@ -31,7 +31,9 @@ EOF
|
||||
case $o in
|
||||
console=*)
|
||||
set -- $(IFS==; echo $o)
|
||||
console=$2
|
||||
params=$2
|
||||
set -- $(IFS=,; echo $params)
|
||||
console=$1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
@ -172,7 +172,9 @@ if [ -n "$debug2" ]; then
|
||||
case $o in
|
||||
console=*)
|
||||
set -- $(IFS==; echo $o)
|
||||
console=$2
|
||||
params=$2
|
||||
set -- $(IFS=,; echo $params)
|
||||
console=$1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user