mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove session-user stop
This commit is contained in:
parent
7dc3145cfb
commit
e82281cec7
2 changed files with 0 additions and 2 deletions
|
@ -60,7 +60,6 @@ if [[ "${TTY}" = "tty1" ]]; then
|
||||||
echo -e "\e[1;96mArchboot\e[m \e[1m- Arch Linux Environment finished.\e[m"
|
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"
|
echo -e "\e[1mSystemd initrd-switch-root will be launched in a second...\e[m"
|
||||||
read -r -t 3
|
read -r -t 3
|
||||||
systemctl stop systemd-user-sessions.service
|
|
||||||
systemctl start initrd-switch-root.target
|
systemctl start initrd-switch-root.target
|
||||||
else
|
else
|
||||||
while true; do
|
while true; do
|
||||||
|
|
|
@ -388,7 +388,6 @@ _new_environment() {
|
||||||
rm -f /sysroot/{VERSION,config,buildconfig,init} &>/dev/null
|
rm -f /sysroot/{VERSION,config,buildconfig,init} &>/dev/null
|
||||||
# systemd needs this for root_switch
|
# systemd needs this for root_switch
|
||||||
touch /etc/initrd-release
|
touch /etc/initrd-release
|
||||||
systemctl stop systemd-user-sessions.service
|
|
||||||
systemctl start initrd-switch-root.target
|
systemctl start initrd-switch-root.target
|
||||||
fi
|
fi
|
||||||
echo -e "\e[1mStep ${_S_APPEND}7/${_STEPS}:\e[m Creating initramfs ${_RAM}/${_INITRD}..."
|
echo -e "\e[1mStep ${_S_APPEND}7/${_STEPS}:\e[m Creating initramfs ${_RAM}/${_INITRD}..."
|
||||||
|
|
Loading…
Reference in a new issue