Skip to content
Snippets Groups Projects
Commit 63c9caaa authored by John Crispin's avatar John Crispin
Browse files

base-files: add function ucidef_set_interface_raw to enable default...

base-files: add function ucidef_set_interface_raw to enable default configuration on interfaces other than lan and wan.

Signed-off-by: default avatarMicke Prag <micke.prag@telldus.se>

SVN-Revision: 48976
parent 4e6e2358
No related branches found
No related tags found
No related merge requests found
...@@ -89,6 +89,12 @@ ucidef_set_interfaces_lan_wan() { ...@@ -89,6 +89,12 @@ ucidef_set_interfaces_lan_wan() {
json_select .. json_select ..
} }
ucidef_set_interface_raw() {
json_select_object network
_ucidef_set_interface "$@"
json_select ..
}
_ucidef_add_switch_port() { _ucidef_add_switch_port() {
# inherited: $num $device $need_tag $role $index $prev_role # inherited: $num $device $need_tag $role $index $prev_role
# inherited: $n_cpu $n_ports $n_vlan $cpu0 $cpu1 $cpu2 $cpu3 $cpu4 $cpu5 # inherited: $n_cpu $n_ports $n_vlan $cpu0 $cpu1 $cpu2 $cpu3 $cpu4 $cpu5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment