do not run hotplug event for aliases
SVN-Revision: 15224
This commit is contained in:
parent
97100e0248
commit
6397e188af
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,9 @@ setup_interface_static() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
config_get type "$config" TYPE
|
||||||
|
[ "$type" = "alias" ] && return 0
|
||||||
|
|
||||||
env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
|
env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" &
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue