inst: pass on kernel parameters to installed plan9.ini
This commit is contained in:
parent
b163f8327a
commit
90b38f03a5
1 changed files with 7 additions and 3 deletions
|
@ -35,7 +35,7 @@ case go
|
||||||
bootfile=9pccpuf
|
bootfile=9pccpuf
|
||||||
if not
|
if not
|
||||||
bootfile=9pcf
|
bootfile=9pcf
|
||||||
{
|
@{
|
||||||
echo 'bootfile='^$bootfile
|
echo 'bootfile='^$bootfile
|
||||||
echo 'bootargs=local!'^$fs
|
echo 'bootargs=local!'^$fs
|
||||||
if(~ $#nvram 1)
|
if(~ $#nvram 1)
|
||||||
|
@ -43,8 +43,12 @@ case go
|
||||||
echo 'mouseport='^$mouseport
|
echo 'mouseport='^$mouseport
|
||||||
echo 'monitor='^$monitor
|
echo 'monitor='^$monitor
|
||||||
echo 'vgasize='^$vgasize
|
echo 'vgasize='^$vgasize
|
||||||
if(test -f '#ec/*nomp')
|
cd '#ec'
|
||||||
echo '*nomp=1'
|
for(i in *){
|
||||||
|
echo -n $"i'='
|
||||||
|
cat $i
|
||||||
|
echo
|
||||||
|
} | grep -v '(apm0|e820|bootfile|bootargs|nvram|mouseport|monitor|vgasize)'
|
||||||
} >/tmp/plan9.ini
|
} >/tmp/plan9.ini
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue