Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
6cc8c4288f |
@@ -5,10 +5,15 @@
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
|
# check if runit already runs udevd
|
||||||
|
if ! pgrep -f "runsv udevd" >/dev/null 2>&1; then
|
||||||
stat_busy "Starting udev daemon"
|
stat_busy "Starting udev daemon"
|
||||||
udevd --daemon || stat_die udev
|
udevd --daemon || stat_die udev
|
||||||
|
# Note: This is only needed for initialization, udev will
|
||||||
|
# be controlled by runit on stage 2.
|
||||||
add_daemon udev
|
add_daemon udev
|
||||||
stat_done udev
|
stat_done udev
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
stat_busy "Stopping udev"
|
stat_busy "Stopping udev"
|
||||||
|
Reference in New Issue
Block a user