summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/grub2-configs
blob: 7cd30ef22d8d4a0240f25aa381bed11ec742a950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Copying local grub2 configuration files

case "$LB_BOOTLOADER" in
grub2|burg)
	;;
*)
	exit 0
	;;
esac

if [ -f config/binary_grub/grub.cfg ]
then
	mkdir -p binary/boot/grub
        cp config/binary_grub/grub*.cfg binary/boot/grub/
fi