Compare commits
1 Commits
c56f090c78
...
dbdd250289
Author | SHA1 | Date |
---|---|---|
Fabian Bläse | dbdd250289 |
|
@ -7,7 +7,7 @@
|
|||
BOARD="$(uci get board.model.name)"
|
||||
|
||||
# only migrate appropriate config versions
|
||||
[ "$(uci -q get gateway.meta.config_version)" = "1" ] || exit 1
|
||||
[ "$(uci -q get gateway.meta.config_version)" = "1" ] || exit 0
|
||||
|
||||
translate_ports() {
|
||||
local vlan="$1"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
BOARD="$(uci get board.model.name)"
|
||||
|
||||
# only migrate appropriate config versions
|
||||
[ "$(uci -q get gateway.meta.config_version)" = "2" ] || exit 1
|
||||
[ "$(uci -q get gateway.meta.config_version)" = "2" ] || exit 0
|
||||
|
||||
translate_ports() {
|
||||
local vlan="$1"
|
||||
|
|
Loading…
Reference in New Issue