mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'removed not needed messages'
This commit is contained in:
parent
12525c1aee
commit
6ae9d8ba5d
2 changed files with 0 additions and 10 deletions
|
@ -46,7 +46,6 @@ dokeymap() {
|
|||
CANCEL=""
|
||||
DIALOG --menu "Select A Keymap" 22 60 16 $KEYMAPS 2>$ANSWER || CANCEL="1"
|
||||
if [ "$CANCEL" = "1" ]; then
|
||||
DIALOG --msgbox "Aborting, your current keymap was not changed." 0 0
|
||||
S_NEXTITEM="1"
|
||||
return 1
|
||||
fi
|
||||
|
@ -70,7 +69,6 @@ doconsolefont() {
|
|||
CANCEL=""
|
||||
DIALOG --menu "Select A Console Font" 22 60 16 $FONTS 2>$ANSWER || CANCEL=1
|
||||
if [ "$CANCEL" = "1" ]; then
|
||||
DIALOG --msgbox "Aborting, your current consolefont was not changed." 0 0
|
||||
S_NEXTITEM="2"
|
||||
return 1
|
||||
fi
|
||||
|
|
|
@ -76,18 +76,12 @@ while ! [ "$SET_ZONE" = "1" ]; do
|
|||
S_NEXTITEM="2"
|
||||
fi
|
||||
else
|
||||
DIALOG --msgbox "Skipping region and timezone." 0 0
|
||||
S_NEXTITEM="1"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
error_timeset()
|
||||
{
|
||||
DIALOG --msgbox "Aborting, your current time was not changed." 0 0
|
||||
}
|
||||
|
||||
dotimeset() {
|
||||
SET_TIME=""
|
||||
USE_NTPDATE=""
|
||||
|
@ -116,14 +110,12 @@ if [ "${SET_TIME}" = "1" ]; then
|
|||
CANCEL=""
|
||||
dialog --calendar "Set the date.\nUse <TAB> to navigate and arrow keys to change values." 0 0 0 0 0 2> $ANSWER || CANCEL="1"
|
||||
if [ "$CANCEL" = "1" ]; then
|
||||
error_timeset
|
||||
S_NEXTITEM="2"
|
||||
return 1
|
||||
fi
|
||||
local _date="$(cat $ANSWER)"
|
||||
dialog --timebox "Set the time.\nUse <TAB> to navigate and up/down to change values." 0 0 2> $ANSWER || CANCEL="1"
|
||||
if [ "$CANCEL" = "1" ]; then
|
||||
error_timeset
|
||||
S_NEXTITEM="2"
|
||||
return 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue