openwrt/package/base-files/files/lib
Mathias Kresin 524ed5088e base-files: always set proto passed to _ucidef_set_interface()
Overwrite an already set proto if a new one is passed to
_ucidef_set_interface() similar to what is done for the interface.

It is required when using ""ucidef_set_interface_wan 'ptm0' 'pppoe'"
after some initial wan interface configuration is already done by
ucidef_add_switch.

The "json_is_a protocol string" guard is meant to not reset an earlier
set interface proto in case something like
"ucidef_set_interface_lan 'eth0'" is used afterwards.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-06-03 20:41:26 +02:00
..
functions base-files: always set proto passed to _ucidef_set_interface() 2017-06-03 20:41:26 +02:00
preinit base-files: don't overwrite model name set by target 2017-02-01 07:40:09 +01:00
upgrade base-files: save /bin/mknod for sysupgrade 2017-01-06 15:34:14 +01:00
functions.sh base-files: add support for overlaying rootfs content 2016-12-20 09:35:36 +01:00