Changeset 28412
- Timestamp:
- 2011-10-11T15:43:08+02:00 (6 years ago)
- Location:
- trunk/package/base-files
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package/base-files/Makefile
r28306 r28412 11 11 12 12 PKG_NAME:=base-files 13 PKG_RELEASE:=8 113 PKG_RELEASE:=82 14 14 15 15 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ -
trunk/package/base-files/files/lib/network/config.sh
r28297 r28412 205 205 # Bridge existed already. No further processing necesary 206 206 } || { 207 local stp 207 local stp igmp_snooping 208 208 config_get_bool stp "$config" stp 0 209 config_get_bool igmp_snooping "$config" igmp_snooping 1 209 210 $DEBUG brctl addbr "br-$config" 210 211 $DEBUG brctl setfd "br-$config" 0 … … 214 215 $DEBUG brctl stp "br-$config" $stp 215 216 [ -z "$macaddr" ] && macaddr="$(cat /sys/class/net/$iface/address)" 217 echo $igmp_snooping > /sys/devices/virtual/net/br-$config/bridge/multicast_snooping 2>/dev/null 216 218 $DEBUG ifconfig "br-$config" hw ether $macaddr up 217 219 # Creating the bridge here will have triggered a hotplug event, which will
Note: See TracChangeset
for help on using the changeset viewer.