mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add _archboot_check
This commit is contained in:
parent
8172e872b0
commit
0d01c285aa
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ _root_check() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
### check for x86_64
|
### check for archboot
|
||||||
_archboot_check() {
|
_archboot_check() {
|
||||||
if ! grep -qw 'archboot' /etc/hostname; then
|
if ! grep -qw 'archboot' /etc/hostname; then
|
||||||
echo "This script should only be run in booted archboot environment. Aborting..."
|
echo "This script should only be run in booted archboot environment. Aborting..."
|
||||||
|
|
Loading…
Reference in a new issue