Skip to content
Snippets Groups Projects
Commit b75288df authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

swconfig: clear ip address on the switch interface, this prevents duplicate...

swconfig: clear ip address on the switch interface, this prevents duplicate assignments of 192.168.1.1 on the DIR-300 at least

SVN-Revision: 17597
parent 2f921cb4
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=swconfig
PKG_RELEASE:=2
PKG_RELEASE:=3
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/kernel.mk
......
......@@ -2,6 +2,7 @@
# Copyright (C) 2009 OpenWrt.org
setup_switch_dev() {
ifconfig "$1" 0.0.0.0
swconfig dev "$1" load network
}
......
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