summaryrefslogtreecommitdiff
path: root/sys-fs
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
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')
-rw-r--r--sys-fs/udev/ChangeLog6
-rw-r--r--sys-fs/udev/files/udev-135-r2.initd6
2 files changed, 11 insertions, 1 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 9aa65a0a2e05..dd54136a4c8d 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.428 2008/12/17 20:42:59 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.429 2008/12/17 21:33:41 zzam Exp $
+
+ 17 Dec 2008; Matthias Schwarzott <zzam@gentoo.org>
+ files/udev-135-r2.initd:
+ Add stop function to udev init-script.
17 Dec 2008; Matthias Schwarzott <zzam@gentoo.org>
files/udev-mount-135-r2.initd:
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 $?
+}
+