Commit Graph

11 Commits

Author SHA1 Message Date
3332fbd560 cleanup: remove testing directory
This wasn't even used for the single-char testing -- I branched instead
after realizing that was more convenient.
2025-07-27 13:16:36 -04:00
ed3c514546 feat: parameterize the sysupgrade url source 2025-07-27 13:15:46 -04:00
b8df54eed1 feat: ap3825i: parameterize everything
Reflash these with `make run1`, etc.
2025-07-26 18:29:02 -04:00
32c88f6dcb feat: first working version 2025-07-26 17:48:46 -04:00
5200177db9 feat: Makefile for running the expect script
This is only needed to parameterize the filename.
2025-07-26 16:54:05 -04:00
1a29951635 Merge branch 'toggle-ports-correctly' into dev 2025-07-26 16:41:53 -04:00
217c8a5881 changes which need to be merged 2025-07-26 12:27:40 -04:00
e428d989d3 [WIP] feat: toggle jg928a ports
Before this commit, I used uncommitted code that used an <<EOF or
<<'EOF' heredef block.

This did not work well, because for some reason, ubus call poe manage
would occasionally send a Ctrl+c, stopping the script. Again, no clue
how.

Notable items here:

- s function, which wraps arguments for ssh

  This is a really nice function. Gemini 2.5 Pro provides a good
  explanation for how the printf '%q ' bit works; tl;dr it builds a
  string prepared for a single shell interpolation and dequoting.

- run all shell commands standalone

  ... one-by-one prevents the Ctrl+c issue.

- not documented: limit /etc/config/poe on the remote switch

  ... to only four ports. The new /etc/config/poe generated-default
  contains too many ports for ubus call poe manage to operate quickly.
  By only listing the four needed ports, ubus call poe manage runs very
  quickly now -- afaict the ubox queue does not get long since there are
  only four ports described to manage.
2025-07-26 12:21:45 -04:00
c21ee66c1b init: single char testing branch 2025-07-26 10:38:39 -04:00
6f101ed6dc changes? 2025-07-14 16:26:23 -04:00
96666cca2d initial 2023-12-15 14:07:44 -05:00