X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=15f28cb7f553d3885eb1d0a86d5d070d1572afca;hb=875cea0c266c7802b336f5a8b61b63e109e670fb;hp=981a290f0f0b0dd4909f71bca1e463908dfb512d;hpb=f384863a1c4dada1a241e693ab99b8a850edf34f;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index 981a290..15f28cb 100755 --- a/wrt-setup +++ b/wrt-setup @@ -25,7 +25,6 @@ pmirror() { # 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 @@ -247,8 +246,8 @@ EOF dnsmasq_restart=false v cedit /etc/hosts <