mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
rename Local Mode to Offline Mode
This commit is contained in:
parent
087874f6cc
commit
989b1aa3e4
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ _set_title() {
|
||||||
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (System Mode) | https://archboot.com"
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (System Mode) | https://archboot.com"
|
||||||
else
|
else
|
||||||
if [[ -e "${_LOCAL_DB}" ]]; then
|
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
|
else
|
||||||
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Online Mode) | https://archboot.com"
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Online Mode) | https://archboot.com"
|
||||||
fi
|
fi
|
||||||
|
@ -63,7 +63,7 @@ _abort_running_system() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_abort_local_mode() {
|
_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() {
|
_geteditor() {
|
||||||
|
|
|
@ -13,7 +13,7 @@ _welcome () {
|
||||||
|
|
||||||
_local_mode () {
|
_local_mode () {
|
||||||
if [[ -e "${_CACHEDIR}/archboot.db" ]]; then
|
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
|
if [[ -e /usr/bin/setup ]] ; then
|
||||||
# bring down network
|
# bring down network
|
||||||
systemctl stop systemd-networkd 2>/dev/null
|
systemctl stop systemd-networkd 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue