StupidOS/releasetools/image.functions

19 lines
262 B
Plaintext
Raw Normal View History

2024-05-28 04:54:10 +00:00
create_grub_cfg()
{
grub_config=$(cat <<EOF
set timeout=15
set default=0
menuentry "StupidOS" {
echo "verify system integrity"
hashsum --hash sha256 --check /boot/hashfile --prefix /
multiboot /stpdldr.sys
module /vmstupid.sys
boot
}
EOF )
}