# doesn't go into the firmware. build new firmware if you want
# lots of upgrades.
f=(/tmp/opkg-lists/*)
- f=${f[0]}
if ! (( $(date -r $f +%s) + 60*60*24 > $(date +%s) )); then
opkg update
fi
dnsmasq_restart=false
v cedit /etc/hosts <<EOF || dnsmasq_restart=true
192.168.1.1 wrt
-192.168.1.2 treetowl mail.iankelling.org faiserver $HOME_DOMAIN
-192.168.1.3 frodo
+192.168.1.2 treetowl mail.iankelling.org $HOME_DOMAIN
+192.168.1.3 frodo faiserver
192.168.1.4 htpc
192.168.1.5 x2
192.168.1.6 demohost