Commit Graph

3 Commits

Author SHA1 Message Date
Michael Tremer
64835e022c 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 <michael.tremer@ipfire.org>
2016-02-28 12:29:45 -08:00
Michael Tremer
36f7fe6a38 udev: Add hotplugging for VLAN devices
The VLAN devices will now automatically be created after
a parent device has been added.

Mainly this will resolve a race-condition between udev
initialising the network adapters and sysvinit running
scripts that will do the initialisation of the VLAN.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-05 12:43:08 +01:00
Michael Tremer
600b99fb31 network: Configure device names from /var/ipfire/ethernet/settings
Instead of creating a copy of the configuration values and
for better extensibility, we will have udev execute a script
that parses /var/ipfire/ethernet/settings and will return the
correct name of the corresponding device (green0, blue0, ...).
2015-03-09 16:31:59 +01:00