diff options
author | William Hubbs <williamh@gentoo.org> | 2011-09-03 22:09:33 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-09-03 22:19:51 -0500 |
commit | 79b0b62037b2c6f223019c580667a940b6084bba (patch) | |
tree | fe3e7414471ad0f37d3311622efd9c17e578d227 | |
parent | The udev service should not read udev.conf (diff) | |
download | udev-gentoo-scripts-79b0b62037b2c6f223019c580667a940b6084bba.tar.gz udev-gentoo-scripts-79b0b62037b2c6f223019c580667a940b6084bba.tar.bz2 udev-gentoo-scripts-79b0b62037b2c6f223019c580667a940b6084bba.zip |
Use default openrc stop function
This commit adds the command variable to the udev script which makes it
possible for us to use the default openrc stop function.
-rw-r--r-- | init.d/udev | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/init.d/udev b/init.d/udev index 43db051..3dfd442 100644 --- a/init.d/udev +++ b/init.d/udev @@ -2,6 +2,7 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +command=/sbin/udevd description="Run udevd and create the device-nodes" persistent_cd_disable="${persistent_cd_disable:-no}" @@ -266,10 +267,3 @@ _start() return 0 } - -stop() -{ - ebegin "Stopping udevd" - start-stop-daemon --stop --exec /sbin/udevd - eend $? -} |