diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-06-28 18:56:16 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-06-28 18:56:16 +0200 |
commit | befdd7d7559f95734976d0ae127ac234eeb5b7d3 (patch) | |
tree | 0cdd942d2d6f396a35d1e8624e5f9f88145ef38b /sys/src/9/boot | |
parent | c4b02ff9e6d86ae9522bcff4e847a88eb4336864 (diff) |
kernel: pass bootargs also in multiboot command line, retire the bootline mechanism to pass arguments to /boot/boot
Diffstat (limited to 'sys/src/9/boot')
-rwxr-xr-x | sys/src/9/boot/bootrc | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc index cf712609a..cf899fb9b 100755 --- a/sys/src/9/boot/bootrc +++ b/sys/src/9/boot/bootrc @@ -189,42 +189,6 @@ for(i in /rc/lib/*.rc){ # add partitions and binds configlocal -# boot(8) command line arguments -ff=() -aa=() -while(! ~ $#* 0){ - if(~ $1 -*){ - if(~ $1 -u*){ - if(~ $1 -u){ - user=$2 - shift - } - if not { - user=`{echo $1 | sed 's,^-u,,g'} - } - } - if not { - if(~ $1 -*f*) - ff=($ff -f) - if(~ $1 -*k*) - ff=($ff -k) - if(~ $1 -*m*) - ff=($ff -m) - } - shift - } - if not { - while(! ~ $#* 0){ - aa=($aa $1) - shift - } - } -} -if(! ~ $#aa 0 && ~ $#bootargs 0 && ~ $#nobootprompt 0){ - bootargs=$aa - nobootprompt=$aa -} - while(){ @{main} |