add _archboot_check

This commit is contained in:
Tobias Powalowski 2023-09-01 13:34:05 +02:00
parent 0d01c285aa
commit 825359d57d

View file

@ -39,7 +39,7 @@ _root_check() {
fi
}
### check for archboot
### check for archboot environment
_archboot_check() {
if ! grep -qw 'archboot' /etc/hostname; then
echo "This script should only be run in booted archboot environment. Aborting..."