diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-12-04 18:55:56 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-12-04 18:55:56 +0100 |
commit | c5393d612fd2a0e4ff3f9557dcb6adb2ad27391f (patch) | |
tree | 3e0db915650d1fe42084bbd99a7d492d53c86909 /sys/src | |
parent | b5f7e27f441cc6d5e30532fdd2d506a4f30f4a04 (diff) |
bootrc: remove $ff references (was old parsed /boot/boot argument list)
Diffstat (limited to 'sys/src')
-rwxr-xr-x | sys/src/9/boot/bootrc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc index 4814726d6..27a8d80c1 100755 --- a/sys/src/9/boot/bootrc +++ b/sys/src/9/boot/bootrc @@ -87,11 +87,8 @@ fn main{ # authentication agent if(! test -f /srv/factotum){ x=(/boot/factotum -n -sfactotum) - if(~ $service cpu){ + if(~ $service cpu) x=($x -S) - if(~ -k $ff) - x=($x -k) - } if not x=($x -u) if(! ~ $#debugfactotum 0) @@ -121,10 +118,7 @@ fn main{ if(~ $#bootdisk 1 && ~ $#cfs 0) cfs=$bootdisk/cache if(~ $#cfs 1 && ! ~ $cfs off && test -f $cfs){ - x=(/bin/cfs -s -f $cfs) - if(~ -f $ff) - x=($x -r) - {$x </srv/boot &} | echo 0 >/srv/cfs + {/bin/cfs -s -f $cfs </srv/boot &} | echo 0 >/srv/cfs rm /srv/boot mv /srv/cfs /srv/boot } @@ -145,8 +139,6 @@ fn main{ init=($init -c) if not init=($init -t) - if(~ -m $ff) - init=($init -m) } # remove enviroment variables |