mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
[PATCH] put config info in db for netdev
Small change, to put the config informations for handled network interfaces into the database.
This commit is contained in:
parent
4ef51da90c
commit
1e799babb6
@ -850,13 +850,13 @@ int namedev_name_device(struct sysfs_class_device *class_dev, struct udevice *ud
|
||||
|
||||
found:
|
||||
apply_format(udev, udev->name, sizeof(udev->name), class_dev, sysfs_device);
|
||||
strfieldcpy(udev->config_file, dev->config_file);
|
||||
udev->config_line = dev->config_line;
|
||||
|
||||
if (udev->type == 'n')
|
||||
goto done;
|
||||
|
||||
udev->partitions = dev->partitions;
|
||||
strfieldcpy(udev->config_file, dev->config_file);
|
||||
udev->config_line = dev->config_line;
|
||||
|
||||
/* get permissions given in rule */
|
||||
set_empty_perms(udev, dev->mode,
|
||||
|
Loading…
x
Reference in New Issue
Block a user