ref: a458242e8256b735e5bc38085fb3db35d7fa720d
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