ref: 4d955c05e146a5d9f42b90775fa49e376e218474
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