mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
rename offline mode function
This commit is contained in:
parent
5f3886c315
commit
9a35ee39c6
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ _abort_running_system() {
|
||||||
_dialog --msgbox "This function is not available on System Setup Mode." 5 60
|
_dialog --msgbox "This function is not available on System Setup Mode." 5 60
|
||||||
}
|
}
|
||||||
|
|
||||||
_abort_offline_mode() {
|
_abort_local_mode() {
|
||||||
_dialog --msgbox "This function is not available on Local Mode." 5 60
|
_dialog --msgbox "This function is not available on Local Mode." 5 60
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ _mainmenu() {
|
||||||
_set_vconsole ;;
|
_set_vconsole ;;
|
||||||
"1")
|
"1")
|
||||||
if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
||||||
_abort_offline_mode
|
_abort_local_mode
|
||||||
else
|
else
|
||||||
_donetwork
|
_donetwork
|
||||||
fi ;;
|
fi ;;
|
||||||
|
@ -308,7 +308,7 @@ _mainmenu() {
|
||||||
if [[ "${_DESTDIR}" == "/" ]]; then
|
if [[ "${_DESTDIR}" == "/" ]]; then
|
||||||
_abort_running_system
|
_abort_running_system
|
||||||
elif [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
elif [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then
|
||||||
_abort_offline_mode
|
_abort_local_mode
|
||||||
else
|
else
|
||||||
_select_source || return 1
|
_select_source || return 1
|
||||||
_update_environment
|
_update_environment
|
||||||
|
|
Loading…
Reference in a new issue