X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=wrt-setup;h=15f28cb7f553d3885eb1d0a86d5d070d1572afca;hp=aa34f67f4321872434d6ba55b23f75045db23871;hb=7386cdbee20dd73095264e2ad0ead433f97ac946;hpb=cf778f7a65037a2a54e2b6008511f0a584326ce9 diff --git a/wrt-setup b/wrt-setup index aa34f67..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