mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-10 11:17:16 +01:00
layer2interface: use hasEthWan to determine if the board has ETH WAN port
This commit is contained in:
parent
9e2b2866ef
commit
7e2645e9a4
1 changed files with 2 additions and 1 deletions
|
|
@ -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)"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue