ref: 83ca5290b32a679bbca565472ce7d348c5a5d998
parent: d05befa132d71d46f30781497dfdf04ba23f2359
author: cinap_lenrek <cinap_lenrek@localhost>
date: Mon Aug 22 20:24:24 EDT 2011
bootrc: simplify by just converting all variables from #ec
--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -16,11 +16,10 @@
cat '#r/rtc' >/dev/time >[2]/dev/null
# reparse #ec variables, move to #e
-for(i in init service sysname user nvram rootdir cfs bootdisk bootargs \
- nobootprompt debugfactotum fs fsaddr auth authaddr console){+for(i in `{ls -p '#ec'}){ a=`{echo $$i}$i=()
- rm -f '#e'/$i '#ec'/$i
+ rm -f /env/$i
if(! ~ $#a 0)
$i=$a
}
--
⑨