From: Michael Tremer Date: Sat, 5 Aug 2017 19:22:21 +0000 (+0000) Subject: vlan: Create devices when they don't exist, yet X-Git-Tag: 009~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75985eb13f3bc49469150e65596f47362a5096a8;p=network.git vlan: Create devices when they don't exist, yet The hotplug triggers will take care of attaching the device to the zone it should belong to. Signed-off-by: Michael Tremer --- diff --git a/src/hooks/zones/bridge b/src/hooks/zones/bridge index e0d839b3..245f4c1a 100644 --- a/src/hooks/zones/bridge +++ b/src/hooks/zones/bridge @@ -308,7 +308,7 @@ hook_port_up() { # We will get here as soon as the port device has # been created and will then connect it with the bridge. if ! device_exists "${port}"; then - port_up "${port}" + port_create "${port}" exit ${EXIT_OK} fi