summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-15 22:25:03 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:07 -0700
commit5a3ee97760a8882e22435ca6424c54af8d8782be (patch)
treec9dac922d4238e93b1891f5682dcab75553880dc /etc/init.d
parentdbc9b3f3a20520db6fcf791a3663ab943fc193d9 (diff)
[PATCH] Add restart target to the etc/init.d/udev script
Change made by Rolf Eike Beer <eike-hotplug@sf-tec.de>
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/udev8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/init.d/udev b/etc/init.d/udev
index 5c09afd205..36ef2dafda 100644
--- a/etc/init.d/udev
+++ b/etc/init.d/udev
@@ -64,11 +64,15 @@ case "$1" in
echo "the udev device node directory does not exist"
fi
;;
- restart|reload)
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ reload)
# nothing to do here
;;
*)
- echo "Usage: $0 {start|stop|status}"
+ echo "Usage: $0 {start|stop|status|restart}"
exit 1
esac