ref: f362be8f65afb8dc5c18507d7f3750206ab4f0ec
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 -f'WW, DD MMM YYYY hh:mm:ss Z'}
x=`{date -n}
y=`{seconds $"tm}
if(! ~ $x $y){
echo $f $tm $x $y are not equal
msg=($msg $f)
}
}
}
exit $"msg