ref: ce1915c53eaccc6a6e77eeb11c47a0cf8dc2545e
parent: 554830053712718c007a05aea3385e3a2efb957c
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
}
--
⑨