From 64835e022c52d24432d201bd4d57f1aa962c1f90 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 28 Feb 2016 12:27:06 -0800 Subject: [PATCH] udev: Fix calling VLAN script The VLAN hotplugging script was called with a wrong parameter that should just be used to rename devices. Hence the script was not correctly executed and did not create the virtual devices. Fixes: #11009 Signed-off-by: Michael Tremer --- config/rootfiles/core/100/filelists/files | 1 + config/udev/60-net.rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/100/filelists/files b/config/rootfiles/core/100/filelists/files index 1202ea8485..b3cd418fa3 100644 --- a/config/rootfiles/core/100/filelists/files +++ b/config/rootfiles/core/100/filelists/files @@ -6,6 +6,7 @@ etc/rc.d/init.d/firewall etc/rc.d/init.d/functions etc/rc.d/init.d/networking/dhcpcd.exe etc/modprobe.d/nf_conntrack.conf +lib/udev/rules.d/60-net.rules srv/web/ipfire/cgi-bin/logs.cgi/firewalllog.dat srv/web/ipfire/cgi-bin/logs.cgi/firewalllogcountry.dat srv/web/ipfire/cgi-bin/logs.cgi/firewalllogip.dat diff --git a/config/udev/60-net.rules b/config/udev/60-net.rules index dc39ff09b3..e82320cfe4 100644 --- a/config/udev/60-net.rules +++ b/config/udev/60-net.rules @@ -4,4 +4,4 @@ ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/network-hotplug-rename", RES # Call a script that will create all virtual devices for a parent device # that has just come up. -ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/network-hotplug-vlan" +ACTION=="add", SUBSYSTEM=="net", RUN+="/lib/udev/network-hotplug-vlan" -- 2.39.2