mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't as for Enter on wayland start #2
This commit is contained in:
parent
439994f301
commit
e08a385c69
1 changed files with 8 additions and 8 deletions
|
@ -5,10 +5,13 @@ _welcome () {
|
||||||
}
|
}
|
||||||
|
|
||||||
_enter_shell() {
|
_enter_shell() {
|
||||||
cd /
|
# dbus sources profiles again
|
||||||
echo -e "Hit \033[1m\033[92mENTER\033[0m for \033[1mshell\033[0m login."
|
if ! pgrep -x dbus-run-session; then
|
||||||
read
|
cd /
|
||||||
clear
|
echo -e "Hit \033[1m\033[92mENTER\033[0m for \033[1mshell\033[0m login."
|
||||||
|
read
|
||||||
|
clear
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ -e /usr/bin/setup ]]; then
|
if [[ -e /usr/bin/setup ]]; then
|
||||||
|
@ -16,10 +19,7 @@ if [[ -e /usr/bin/setup ]]; then
|
||||||
echo -e "You are running in \033[92m\033[1mLocal mode\033[0m, with \033[1mlocal package repository\033[0m enabled.\033[0m"
|
echo -e "You are running in \033[92m\033[1mLocal mode\033[0m, with \033[1mlocal package repository\033[0m enabled.\033[0m"
|
||||||
echo -e "To \033[1mswitch\033[0m to \033[1mOnline mode\033[0m:# \033[1m\033[91mrm /var/cache/pacman/pkg/archboot.db\033[0m\033[1m"
|
echo -e "To \033[1mswitch\033[0m to \033[1mOnline mode\033[0m:# \033[1m\033[91mrm /var/cache/pacman/pkg/archboot.db\033[0m\033[1m"
|
||||||
fi
|
fi
|
||||||
# dbus sources profiles again
|
_enter_shell
|
||||||
if ! pgrep -x dbus-run-session; then
|
|
||||||
_enter_shell
|
|
||||||
fi
|
|
||||||
if ! [[ -e /tmp/.setup ]]; then
|
if ! [[ -e /tmp/.setup ]]; then
|
||||||
setup
|
setup
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue