summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/udev-trigger6
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()