rename Local Mode to Offline Mode

This commit is contained in:
Tobias Powalowski 2023-07-03 08:38:13 +02:00
parent 087874f6cc
commit 989b1aa3e4
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ _set_title() {
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (System Mode) | https://archboot.com"
else
if [[ -e "${_LOCAL_DB}" ]]; then
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Local Mode) | https://archboot.com"
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Offline Mode) | https://archboot.com"
else
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Online Mode) | https://archboot.com"
fi
@ -63,7 +63,7 @@ _abort_running_system() {
}
_abort_local_mode() {
_dialog --msgbox "This function is not available on Local Mode." 5 60
_dialog --msgbox "This function is not available on Offline Mode." 5 60
}
_geteditor() {

View file

@ -13,7 +13,7 @@ _welcome () {
_local_mode () {
if [[ -e "${_CACHEDIR}/archboot.db" ]]; then
echo -e "You are running in \e[92m\e[1mLocal Mode\e[m, with \e[1mlocal package repository\e[m enabled.\e[m"
echo -e "You are running in \e[92m\e[1mOffline Mode\e[m, with \e[1mlocal package repository\e[m enabled.\e[m"
if [[ -e /usr/bin/setup ]] ; then
# bring down network
systemctl stop systemd-networkd 2>/dev/null