bootrc: dont try to convert kernel variables, fix quoting

front
cinap_lenrek 2011-08-27 17:58:20 +02:00
parent 6d9f649c41
commit 9403363364
1 changed files with 8 additions and 3 deletions

View File

@ -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 {