File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -78,25 +78,6 @@ check_network_swap() {
7878 done < /proc/swaps
7979}
8080
81- ifup_hotplug () {
82- if [ -d /sys/class/net ]
83- then
84- ifaces=$( for iface in $( ifquery --list --allow=hotplug 2> /dev/null)
85- do
86- link=${iface##:* }
87- link=${link## .* }
88- if [ -e " /sys/class/net/$link " ]
89- then
90- echo " $iface "
91- fi
92- done)
93- if [ -n " $ifaces " ]
94- then
95- ifup $ifaces " $@ " --systemd || true
96- fi
97- fi
98- }
99-
10081ifup_mgmt () {
10182 ifaces=$( ifquery --list --allow=mgmt 2> /dev/null)
10283 if [ -n " $ifaces " ]; then
@@ -128,7 +109,6 @@ start)
128109 echo ${NAME} ' :' " Configuring network interfaces"
129110 ifup_mgmt
130111 ifup -a $EXTRA_ARGS $exclusions $perfoptions --systemd
131- ifup_hotplug $HOTPLUG_ARGS $EXTRA_ARGS $exclusions
132112 ;;
133113stop)
134114 if [ " $SKIP_DOWN_AT_SYSRESET " = " yes" ]; then
You can’t perform that action at this time.
0 commit comments