aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-09-03 22:09:33 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-09-03 22:19:51 -0500
commit79b0b62037b2c6f223019c580667a940b6084bba (patch)
treefe3e7414471ad0f37d3311622efd9c17e578d227
parentThe udev service should not read udev.conf (diff)
downloadudev-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/udev8
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 $?
-}