20 lines
		
	
	
		
			425 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			425 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
 | 
						|
cd /usr/src || exit 1
 | 
						|
make world install || exit 1
 | 
						|
cd tools || exit 1
 | 
						|
rm revision
 | 
						|
rm /boot/image/*
 | 
						|
make hdboot || exit 1
 | 
						|
cp ../boot/boot /boot/boot || exit 1
 | 
						|
make clean
 | 
						|
make image_small || exit 1
 | 
						|
cp image_small /boot || exit 1
 | 
						|
cd /usr/src || exit 1
 | 
						|
make clean
 | 
						|
# Let man find the manpages
 | 
						|
makewhatis /usr/man
 | 
						|
makewhatis /usr/local/man
 | 
						|
exit 0
 | 
						|
 |