mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
stop systemd-session-user by hand
This commit is contained in:
parent
6e16fd3276
commit
937a226259
1 changed files with 1 additions and 1 deletions
|
@ -57,10 +57,10 @@ if [[ "${TTY}" = "tty1" ]]; then
|
|||
rm -f /sysroot/{VERSION,config,buildconfig,init} &>/dev/null
|
||||
# systemd needs this for root_switch
|
||||
touch /etc/initrd-release
|
||||
touch /run/nologin
|
||||
echo -e "\e[1;96mArchboot\e[m \e[1m- Arch Linux Environment finished.\e[m"
|
||||
echo -e "\e[1mSystemd initrd-switch-root will be launched in a second...\e[m"
|
||||
read -r -t 3
|
||||
systemctl stop systemd-user-sessions.service
|
||||
systemctl start initrd-switch-root.target
|
||||
else
|
||||
while true; do
|
||||
|
|
Loading…
Reference in a new issue