layer2interface: use hasEthWan to determine if the board has ETH WAN port

This commit is contained in:
Sukru Senli 2017-06-21 10:29:10 +02:00
parent 9e2b2866ef
commit 7e2645e9a4

View file

@ -1,6 +1,7 @@
#!/bin/sh
local hasEthWan="1"
local hasEthWan="$(db -q get hw.board.hasEthWan)"
hasEthWan=${hasEthWan:-1}
local hasAdsl="$(db -q get hw.board.hasAdsl)"
local hasVdsl="$(db -q get hw.board.hasVdsl)"