ref: 0850c5b8bb1562625f822fe7b4e7c0da5f5b28f7
dir: /libc/zones.rc/
#!/bin/rc
rfork en
msg=()
for(f in /adm/timezone/*){
if(! ~ $f /adm/timezone/README){
cat $f >/env/timezone
tm=`{date -m}
x=`{date -n}
y=`{seconds $"tm}
if(! ~ $x $y){
echo $f $tm $x $y are not equal
msg=($msg $f)
}
}
}
exit $"msg