forked from pool/grub2
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
|
#! /bin/sh
|
||
|
set -e
|
||
|
if [ "x${SUSE_BTRFS_SNAPSHOT_BOOTING}" = "xtrue" ] &&
|
||
|
[ "x${GRUB_FS}" = "xbtrfs" ] ; then
|
||
|
cat <<EOF
|
||
|
if [ -f "/.snapshots/grub-snapshot.cfg" ]; then
|
||
|
source "/.snapshots/grub-snapshot.cfg"
|
||
|
fi
|
||
|
EOF
|
||
|
fi
|