retrigger module loading on soft-reboot

This commit is contained in:
Tobias Powalowski 2024-03-01 22:04:46 +01:00
parent 0afc1eec46
commit 486c6f2226

View file

@ -250,6 +250,8 @@ _new_environment() {
rm "${_RAM}"/{init,"${_VMLINUZ}"} &>"${_NO_LOG}" rm "${_RAM}"/{init,"${_VMLINUZ}"} &>"${_NO_LOG}"
_progress "100" "Switching to rootfs ${_RAM}..." _progress "100" "Switching to rootfs ${_RAM}..."
sleep 2 sleep 2
# stop coldplug service to retrigger module loading on soft-reboot
systemctl stop systemd-udev-trigger
systemctl soft-reboot systemctl soft-reboot
fi fi
_progress "86" "Preserving Basic Setup values..." _progress "86" "Preserving Basic Setup values..."