diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-12-17 21:33:41 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-12-17 21:33:41 +0000 |
commit | d31d3dc55c6dc3d06db4579df33b901b86861e33 (patch) | |
tree | c939c4673501f7319237021e0adae5c9b2db53d6 /sys-fs/udev/files | |
parent | Fix parallel-make issues, Bug #247800. (diff) | |
download | gentoo-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.initd | 6 |
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 $? +} + |