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