diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-03-19 11:32:14 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2013-03-19 11:37:04 -0500 |
commit | 5eed3ed861253fa652353aa99dafa889d9149577 (patch) | |
tree | 26405bd1b7394960366d397637c85f36a3997ae0 /init.d | |
parent | increment version (diff) | |
download | udev-gentoo-scripts-5eed3ed861253fa652353aa99dafa889d9149577.tar.gz udev-gentoo-scripts-5eed3ed861253fa652353aa99dafa889d9149577.tar.bz2 udev-gentoo-scripts-5eed3ed861253fa652353aa99dafa889d9149577.zip |
udev: fix permissions and symlinks when rc_coldplug="no"
Modification by William Hubbs: I added an einfo to inform users that
symbolic links and permissions are being set.
X-Gentoo-Bug: 461838
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=461838
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/udev | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/udev b/init.d/udev index f2e1e48..f21361b 100644 --- a/init.d/udev +++ b/init.d/udev @@ -102,6 +102,8 @@ populate_dev() { get_bootparam "nocoldplug" && rc_coldplug="no" if ! yesno $rc_coldplug; then + einfo "Setting /dev permissions and symbolic links" + udevadm trigger --attr-match=dev --action=add ewarn "Skipping udev coldplug sequence" return 0 fi |