summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-04-15 10:15:28 -0500
committerWilliam Hubbs <williamh@gentoo.org>2013-04-15 10:49:33 -0500
commit03764dc66785f29f9ee64e51be5b40131ec815fa (patch)
treec9404d865e0f6b1f50aaf868be86f67bb8d6c47c
parentFix the path for udevadm (diff)
downloadudev-gentoo-scripts-03764dc66785f29f9ee64e51be5b40131ec815fa.tar.gz
udev-gentoo-scripts-03764dc66785f29f9ee64e51be5b40131ec815fa.tar.bz2
udev-gentoo-scripts-03764dc66785f29f9ee64e51be5b40131ec815fa.zip
Add net devices when coldplugging is disabled26
This allows the predictable interface names to work when coldplugging is disabled. X-Gentoo-Bug: 465248 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=465248
-rw-r--r--init.d/udev1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/udev b/init.d/udev
index 0e6aee6..0e9abfe 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -105,6 +105,7 @@ populate_dev()
if ! yesno ${rc_coldplug:-${RC_COLDPLUG:-yes}}; then
einfo "Setting /dev permissions and symbolic links"
udevadm trigger --attr-match=dev --action=add
+ udevadm trigger --subsystem-match=net --action=add
ewarn "Skipping udev coldplug sequence"
return 0
fi