mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
stop dbus.socket
This commit is contained in:
parent
df1fb21c01
commit
4b8eff3f6c
2 changed files with 4 additions and 2 deletions
|
@ -62,7 +62,7 @@ if [[ "${TTY}" = "tty1" ]]; then
|
||||||
read -r -t 3
|
read -r -t 3
|
||||||
systemctl stop systemd-user-sessions.service
|
systemctl stop systemd-user-sessions.service
|
||||||
systemctl stop dbus-org.freedesktop.login1.service
|
systemctl stop dbus-org.freedesktop.login1.service
|
||||||
systemctl stop dbus.service
|
systemctl stop dbus.socket
|
||||||
systemctl start initrd-switch-root.target
|
systemctl start initrd-switch-root.target
|
||||||
else
|
else
|
||||||
while true; do
|
while true; do
|
||||||
|
|
|
@ -388,7 +388,9 @@ _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 dbus.service
|
systemctl stop systemd-user-sessions.service
|
||||||
|
systemctl stop dbus-org.freedesktop.login1.service
|
||||||
|
systemctl stop dbus.socket
|
||||||
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