X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=wrt-setup;h=17c31c22da54a30d7a667534adf248cc8f92adea;hb=187171cf7e0b0ef3fa07458a3536f98074416c0a;hp=aa34f67f4321872434d6ba55b23f75045db23871;hpb=cf778f7a65037a2a54e2b6008511f0a584326ce9;p=automated-distro-installer diff --git a/wrt-setup b/wrt-setup index aa34f67..17c31c2 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 @@ -254,6 +253,7 @@ v cedit /etc/hosts <