9 lines
		
	
	
	
		
			395 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			395 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#! /bin/sh
 | 
						|
mkdir -p /boot/grub
 | 
						|
if [ -f /boot/grub/grub.cfg ];then
 | 
						|
	mv /boot/grub/grub.cfg /boot/grub/grub.cfg.eski
 | 
						|
fi
 | 
						|
[ ! -f /boot/grub/grub.cfg.new ] && cp /etc/default/grub/grub.cfg /boot/grub/grub.cfg.new
 | 
						|
[ ! -d /boot/grub/i386-pc ] && cp -r /usr/lib/grub/i386-pc /boot/grub/
 | 
						|
[ ! -f /boot/grub/unicode.pf2 ] && cp  /usr/share/grub/unicode.pf2 /boot/grub/
 | 
						|
grub-mkconfig -o /boot/grub/grub.cfg
 |