aboutsummaryrefslogtreecommitdiffstats
path: root/main/grub/grub.trigger
blob: 004b84e5fcca18d8961e0949d08c3d9d20f7baa6 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if [ -e /boot/grub/grub.cfg ]; then
	if [ -e /boot/vmlinuz-vanilla ]; then
		sed -i -e "s/vmlinuz /vmlinuz-vanilla /g" /boot/grub/grub.cfg
	else
		if [ -e /boot/vmlinuz ]; then
			sed -i -e "s/vmlinuz-vanilla/vmlinuz/g" /boot/grub/grub.cfg
		fi
	fi
fi