mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
change message
This commit is contained in:
parent
9393d412c2
commit
06d3099433
1 changed files with 2 additions and 2 deletions
|
@ -3,12 +3,12 @@
|
||||||
check_root_password() {
|
check_root_password() {
|
||||||
# check if empty password is set
|
# check if empty password is set
|
||||||
if chroot "${DESTDIR}" passwd -S root | cut -d ' ' -f2 | grep -q NP; then
|
if chroot "${DESTDIR}" passwd -S root | cut -d ' ' -f2 | grep -q NP; then
|
||||||
DIALOG --msgbox "Setup detected no password set for root user,\nplease set password now." 6 60
|
DIALOG --msgbox "Setup detected no password set for root user,\nplease set new password now." 6 60
|
||||||
set_password
|
set_password
|
||||||
fi
|
fi
|
||||||
# check if account is locked
|
# check if account is locked
|
||||||
if chroot "${DESTDIR}" passwd -S root | cut -d ' ' -f2 | grep -q L; then
|
if chroot "${DESTDIR}" passwd -S root | cut -d ' ' -f2 | grep -q L; then
|
||||||
DIALOG --msgbox "Setup detected locked account for root user,\nplease set password to unlock account now." 6 60
|
DIALOG --msgbox "Setup detected locked account for root user,\nplease set new password to unlock account now." 6 60
|
||||||
set_password
|
set_password
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue