bootrc: dont try to convert kernel variables, fix quoting
This commit is contained in:
parent
6d9f649c41
commit
9403363364
1 changed files with 8 additions and 3 deletions
|
@ -16,9 +16,14 @@ for(i in I l^(0 1 2 3))
|
|||
cat '#r/rtc' >/dev/time >[2]/dev/null
|
||||
|
||||
# reparse #ec variables, move to #e
|
||||
for(i in `{ls -p '#ec'}){
|
||||
cat '#ec/'^$i >'#e/'^$i
|
||||
$i=`{echo $$i}
|
||||
for(i in `{ls -Qp '#ec'}){
|
||||
switch($i){
|
||||
case '*'* e820
|
||||
# ignore these
|
||||
case *
|
||||
cat '#ec/'^$i >'#e/'^$i
|
||||
$i=`{echo $$i}
|
||||
}
|
||||
}
|
||||
|
||||
fn fatal {
|
||||
|
|
Loading…
Reference in a new issue