Commit Graph

6 Commits

Author SHA1 Message Date
Florian Eckert 1c3f6b1599 cjdns: upgrade uci-defaults for ucitrack handling to use json
Conversion of the 'uci-defaults' script for ucitrack handling to the new
json processing.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-16 08:53:10 +02:00
Etienne Champetier 383c52ff8d
cjdns: fix uci-defaults (#714)
Since https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=4b9a67362d70c544b85078b8d5c661f43f7472d9,
uci network config interface sections use 'device' instead of 'ifname'

Even if 'device' seems to always be set by
package/base-files/files/bin/config_generate, we keep the fallbacks
in case someone install the package via opkg and has a non migrated
network config

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2021-08-19 13:05:07 +02:00
Daniel Golle e26942118b cjdns: uci-defaults: work around missing lan interface
The current uci-defaults scripts assumes than a network interface named
'lan' always exists. Check if this is true before adding ETHInterface
section.
This is a temporary work-around until cjdrouteconf gets the Linux
interface from netifd via ubus...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-30 19:34:10 +02:00
Daniel Golle 25d637576d cjdns: uci-defaults: fix shell syntax error
uci-defaults script complained about
sh: missing ]
fix this by adding the missing whitespace which caused the error.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-30 19:19:10 +02:00
Lars Gierth 2a6a5d6084 cjdns: parse lan ifname more gracefully
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-27 04:18:30 +02:00
Daniel Golle cd765e581d cjdns: import package from github.com:SeattleMeshnet/meshbox
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-17 14:50:16 +02:00