diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2015-06-10 16:15:01 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-06-10 16:17:46 -0500 |
commit | ba6eb291508d031819290e4191a883f50b24d572 (patch) | |
tree | ee6b31c3dd4a59083baf5165505e507cc9480fdb | |
parent | start work on version 29 (diff) | |
download | udev-gentoo-scripts-ba6eb291508d031819290e4191a883f50b24d572.tar.gz udev-gentoo-scripts-ba6eb291508d031819290e4191a883f50b24d572.tar.bz2 udev-gentoo-scripts-ba6eb291508d031819290e4191a883f50b24d572.zip |
udev-trigger: Fix typos and make all functions return success29
X-Gentoo-Bug: 551644
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=551644
-rw-r--r-- | init.d/udev-trigger | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/init.d/udev-trigger b/init.d/udev-trigger index b67d597..a04f9e7 100644 --- a/init.d/udev-trigger +++ b/init.d/udev-trigger @@ -22,6 +22,7 @@ start_pre() --make-pidfile --pidfile "${udevmonitor_pid}" \ --background --exec /bin/udevadm -- monitor ${udev_monitor_opts} fi + return 0 } display_hotplugged_services() @@ -34,11 +35,12 @@ display_hotplugged_services() services="${services} ${svc}" done [ -n "${services}" ] && einfo "Device initiated services:${HILITE}${services}${NORMAL}" + return 0 } start_post() { - if yesno "${udev_monitor}:-no}"; then + if yesno "${udev_monitor:-no}"; then if yesno "${udev_monitor_keep_running:-no}"; then ewarn "udevmonitor is still writing into ${udevmonitor_log}" else @@ -48,6 +50,7 @@ start_post() fi fi display_hotplugged_services + return 0 } # This is here because some software expects /dev/root to exist. @@ -65,6 +68,7 @@ dev_root_link() [ "$ROOT_MAJOR" != 0 ] || return 0 echo 'ACTION=="add|change", SUBSYSTEM=="block", ENV{MAJOR}=="'$ROOT_MAJOR'", ENV{MINOR}=="'$ROOT_MINOR'", SYMLINK+="root"' > $RULESDIR/61-dev-root-link.rules + return 0 } start() |