mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
retrigger module loading on soft-reboot
This commit is contained in:
parent
0afc1eec46
commit
486c6f2226
1 changed files with 2 additions and 0 deletions
|
@ -250,6 +250,8 @@ _new_environment() {
|
|||
rm "${_RAM}"/{init,"${_VMLINUZ}"} &>"${_NO_LOG}"
|
||||
_progress "100" "Switching to rootfs ${_RAM}..."
|
||||
sleep 2
|
||||
# stop coldplug service to retrigger module loading on soft-reboot
|
||||
systemctl stop systemd-udev-trigger
|
||||
systemctl soft-reboot
|
||||
fi
|
||||
_progress "86" "Preserving Basic Setup values..."
|
||||
|
|
Loading…
Reference in a new issue