zram for ubuntu; kexec.sh for single distro

This commit is contained in:
Dan
2026-04-26 19:54:23 +02:00
parent 670530ca5e
commit 34de424611
4 changed files with 14 additions and 0 deletions

5
boot/kexec.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
set -e
BOOT=/boot/efi
kexec -l "$BOOT/bzImage" --initrd="$BOOT/initrd.img" --command-line="$(cat $BOOT/cmdline.txt)"
kexec -e