Ladies &
Gentlemen,
I asked a
question on linuxquestions.org about what exact commands I would need to
install your patch that will update
the new DST rules on my RH 8.0
pc. One guy responded with the following:
]$ cd /tmp &&
{ mkdir tz && cd tz || exit 1; }
wget -q
'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz' || exit
]$ gzip -dc tzcode*.tar.gz
| tar -xf -
]$ gzip -dc tzdata*.tar.gz | tar -xf -
]$ which nawk >/dev/null 2>&1|| { sed -i 's|nawk|gawk|g'
Makefile || exit 1; }
]$ LOCALTIMEVAR0=`grep ^ZONE= /etc/sysconfig/clock
2>/dev/null| awk -F'=' '{print $2}'|tr -d '"'`
]$ LOCALTIMEVAR1=`make
zonenames 2>/dev/null|grep -m1 $LOCALTIMEVAR0|awk '{print $1}'`
]$ [ -n
$LOCALTIMEVAR1 ] || exit 1 && { sed -i "s|Factory|$LOCALTIMEVAR1|g"
Makefile \
&& make install; echo 'Done!'; }
The blue
code I've already done and I understand. But what about the green
code? Do you see anything there that may create something malcious or
unsecure? I don't think so but I wanted to get your more educated &
trusted opinion. Is it correct for east
coast time zone (New York)?
Thanks!
-Bryan