From d31d3dc55c6dc3d06db4579df33b901b86861e33 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Wed, 17 Dec 2008 21:33:41 +0000 Subject: Add stop function to udev init-script. (Portage version: 2.1.6.1/cvs/Linux 2.6.27-gentoo-r1 i686) --- sys-fs/udev/files/udev-135-r2.initd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys-fs/udev/files') 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 $? +} + -- cgit v1.2.3-65-gdbad