add _archboot_check

This commit is contained in:
Tobias Powalowski 2023-09-01 13:33:25 +02:00
parent 8172e872b0
commit 0d01c285aa

View file

@ -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..."