diff options
author | 2013-04-03 10:35:14 -0500 | |
---|---|---|
committer | 2013-04-03 10:38:40 -0500 | |
commit | 09d05dc2dae6020e97c9d25a23bbf0a317d72751 (patch) | |
tree | affda35ec185016aadafedc47b1b7b660124b955 | |
parent | increment version (diff) | |
download | udev-gentoo-scripts-09d05dc2dae6020e97c9d25a23bbf0a317d72751.tar.gz udev-gentoo-scripts-09d05dc2dae6020e97c9d25a23bbf0a317d72751.tar.bz2 udev-gentoo-scripts-09d05dc2dae6020e97c9d25a23bbf0a317d72751.zip |
Fix the path for udevadm
We should run /bin/udevadm directly instead of using a symbolic link.
X-Gentoo-Bug: 464190
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=464190
-rw-r--r-- | init.d/udev | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/udev b/init.d/udev index 8f07d8f..0e6aee6 100644 --- a/init.d/udev +++ b/init.d/udev @@ -90,7 +90,7 @@ start_udevmonitor() einfo "udev: Running udevadm monitor ${udev_monitor_opts} to log all events" start-stop-daemon --start --stdout "${udevmonitor_log}" \ --make-pidfile --pidfile "${udevmonitor_pid}" \ - --background --exec /sbin/udevadm -- monitor ${udev_monitor_opts} + --background --exec /bin/udevadm -- monitor ${udev_monitor_opts} } populate_dev() @@ -128,7 +128,7 @@ stop_udevmonitor() ewarn "udev: udevmonitor is still running and writing into ${udevmonitor_log}" else einfo "udev: Stopping udevmonitor: Log is in ${udevmonitor_log}" - start-stop-daemon --stop --pidfile "${udevmonitor_pid}" --exec /sbin/udevadm + start-stop-daemon --stop --pidfile "${udevmonitor_pid}" --exec /bin/udevadm fi } |