mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-20 03:01:32 +01:00
layer2: comment out wan port powering down/up section
This commit is contained in:
parent
ce2ff74d79
commit
d3f72c9edd
1 changed files with 6 additions and 6 deletions
|
|
@ -72,12 +72,12 @@ boot() {
|
|||
|
||||
[ -n "$baseifname" ] || baseifname="$(db -q get hw.board.ethernetWanPort)"
|
||||
|
||||
if [ "$(db get hw.board.hardware)" != "EG300" ]; then
|
||||
if [ "$(get_port_speed $baseifname)" != "1000FD" ]; then
|
||||
ethctl $baseifname phy-power down
|
||||
ethctl $baseifname phy-power up
|
||||
fi
|
||||
fi
|
||||
# if [ "$(db get hw.board.hardware)" != "EG300" ]; then
|
||||
# if [ "$(get_port_speed $baseifname)" != "1000FD" ]; then
|
||||
# ethctl $baseifname phy-power down
|
||||
# ethctl $baseifname phy-power up
|
||||
# fi
|
||||
# fi
|
||||
|
||||
for interf in $(db get hw.board.ethernetPortOrder); do
|
||||
ethswctl -c wan -i $interf -o disable
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue