Lines 77-85
stop() {
Link Here
|
77 |
get_udevd_binary || return 1 |
77 |
get_udevd_binary || return 1 |
78 |
ebegin "Stopping ${name:-$RC_SVCNAME}" |
78 |
ebegin "Stopping ${name:-$RC_SVCNAME}" |
79 |
udevadm control --exit || |
79 |
udevadm control --exit || |
80 |
start-stop-daemon --stop --exec "${command}" --pidfile "${pidfile}" && |
80 |
start-stop-daemon --stop --exec "${command}" --pidfile "${pidfile}" |
81 |
rm -f "${pidfile}" |
|
|
82 |
eend $? "Failed to stop $RC_SVCNAME" |
81 |
eend $? "Failed to stop $RC_SVCNAME" |
|
|
82 |
[ $? -eq 0 ] && rm -f "${pidfile}" /run/udev/control |
83 |
} |
83 |
} |
84 |
|
84 |
|
85 |
reload() { |
85 |
reload() { |
86 |
- |
|
|