mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-11-04 00:05:35 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			360 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			360 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
 | 
						|
if [ ! -e /usr/share/gbootroot/yard/Replacements/dev/ubd0 ]; then 
 | 
						|
    mknod /usr/share/gbootroot/yard/Replacements/dev/ubd0 b 98 0
 | 
						|
fi
 | 
						|
 | 
						|
#DEBHELPER#
 | 
						|
 | 
						|
# Make uml_net setuid, but respects Sysadm's choices.
 | 
						|
 | 
						|
if [ -z "$(dpkg-statoverride --list /usr/bin/uml_net)" ]; then
 | 
						|
        chown root.root /usr/bin/uml_net
 | 
						|
        chmod 4755 /usr/bin/uml_net
 | 
						|
fi
 | 
						|
 |