mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
use safe temporary directory
This commit is contained in:
2
41_snapshots-btrfs
Normal file → Executable file
2
41_snapshots-btrfs
Normal file → Executable file
@@ -114,7 +114,7 @@ root_uuid=$(${grub_probe} "/" --target="fs_uuid" 2>/dev/null)
|
||||
## Parameters passed to the kernel
|
||||
kernel_parameters="$GRUB_CMDLINE_LINUX $GRUB_CMDLINE_LINUX_DEFAULT"
|
||||
## Mount point location
|
||||
gbgmp="/tmp/gbgmp"
|
||||
gbgmp=$(mktemp -d)
|
||||
## Class for theme
|
||||
CLASS="--class snapshots --class gnu-linux --class gnu --class os"
|
||||
## save IFS
|
||||
|
||||
Reference in New Issue
Block a user