summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-12-17 21:33:41 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-12-17 21:33:41 +0000
commitd31d3dc55c6dc3d06db4579df33b901b86861e33 (patch)
treec939c4673501f7319237021e0adae5c9b2db53d6 /sys-fs/udev/files
parentFix parallel-make issues, Bug #247800. (diff)
downloadgentoo-2-d31d3dc55c6dc3d06db4579df33b901b86861e33.tar.gz
gentoo-2-d31d3dc55c6dc3d06db4579df33b901b86861e33.tar.bz2
gentoo-2-d31d3dc55c6dc3d06db4579df33b901b86861e33.zip
Add stop function to udev init-script.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27-gentoo-r1 i686)
Diffstat (limited to 'sys-fs/udev/files')
-rw-r--r--sys-fs/udev/files/udev-135-r2.initd6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-fs/udev/files/udev-135-r2.initd b/sys-fs/udev/files/udev-135-r2.initd
index 39d84e3c1ecb..f0ec8c73451b 100644
--- a/sys-fs/udev/files/udev-135-r2.initd
+++ b/sys-fs/udev/files/udev-135-r2.initd
@@ -198,3 +198,9 @@ _start()
return 0
}
+stop() {
+ ebegin "Stopping udevd"
+ start-stop-daemon --stop --exec /sbin/udevd
+ eend $?
+}
+