sorry I must correct myself, actually the reboot occurs during execution of the command
"/sbin/udevadm settle" just after the one I said before.
thus if I write:
echo BEFORE
sleep 5
# Fix permissions and missing symlinks/programs for devices made in
# initramfs, and catch up on everything we missed
log_begin_msg "Loading hardware drivers..."
/sbin/udevadm trigger
echo IN_BETWEEN
sleep 5
if /sbin/udevadm settle; then
log_end_msg 0
else
log_end_msg $?
fi
sorry I must correct myself, actually the reboot occurs during execution of the command
"/sbin/udevadm settle" just after the one I said before.
thus if I write:
echo BEFORE
sleep 5
# Fix permissions and missing symlinks/programs for devices made in
# initramfs, and catch up on everything we missed
log_begin_msg "Loading hardware drivers..."
/sbin/udevadm trigger
echo IN_BETWEEN
sleep 5
if /sbin/udevadm settle; then
log_end_msg 0
else
log_end_msg $?
fi
echo AFTER
sleep 5
I will see BEFORE and IN_BETWEEN, but not AFTER