base-files: uci-defaults: allow setting wireless defaults
authorDaniel Golle <daniel@makrotopia.org>
Sat, 20 Nov 2021 01:43:20 +0000 (01:43 +0000)
committerJohn Crispin <john@phrozen.org>
Wed, 2 Oct 2024 13:41:33 +0000 (15:41 +0200)
commitb9eadcf318f55215fbbac62e05b17ea7223eb6f8
tree2b1a848dc049718e19dd27c3d8586668f667cf13
parent3ed5f6430b0f07116fabc3d45e5ee1cb7280f6d2
base-files: uci-defaults: allow setting wireless defaults

Introduce new uci-default functions:
 - ucidef_set_wireless band ssid [encryption] [key]
 - ucidef_set_country cc

They are supposed to be used in /etc/board.d/* scripts to define
board-specific defaults for wireless.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: John Crispin <john@phrozen.org>
package/base-files/files/lib/functions/uci-defaults.sh