BashfulBladder / gargoyle-plugins

9 stars 7 forks source link

site survey: endless loop #2

Closed obsy closed 11 years ago

obsy commented 11 years ago

Next problem: postrm script: if not exists mounted_usb_storage.tab, loop should exit.

BashfulBladder commented 11 years ago

Ugh, it looks like that would happen. I can't test it right now, but this edit to the Makefile should work:

    let mnt++
  else
    break;
  fi
done

Thanks for finding it. I'll test it out when I get home to test it out on my router.

BashfulBladder commented 11 years ago

So I came upon this too. I got out of the loop by touch /tmp/mounted_usb_storage.tab

But I can't install a new package with Eric's new gpkg:

opkg install /tmp/plugin-gargoyle-wifi-survey_1.2.2-2_all.ipk 
WARNING: package list directory "/var/opkg-lists" does not exist
ERROR: No package named plugin-gargoyle-wifi-survey found, try updating your package lists
opkg --help
gpkg: opkg/ipkg compatible package manager
      written by Eric Bishop

So I'll commit the fix for this & your compressed OUIs.js patch, but I can't test the makefile change. Sorry.

obsy commented 11 years ago

Copy "normal" opkg via scp to system :)

Pozdrawiam, Cezary Jackiewicz

BashfulBladder commented 11 years ago

Right - cuz my shi tty plugin-gargoyle-wifi-schedule - that can't be built right away. It does way too much. It needs testing.

Yup, but pet-project gpkg - that's in right away. Let us all bask in its glory.

Oh, lets be sure to pull the REAL opkg. Pesky working program - you're GONE!

Anyway, I did exactly what you suggested & the loop seems to be gone - and happily the postrm script works.

If you find that its solved, please close the issue