6a61b9a probe: fallback to libblkid.so.1 when libblkid.so does not exist Also remove deprecation notices from init script while we're at it. Fixes: FS#2274 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
		
			
				
	
	
		
			21 lines
		
	
	
		
			169 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			169 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh /etc/rc.common
 | 
						|
# (C) 2013 openwrt.org
 | 
						|
 | 
						|
START=40
 | 
						|
 | 
						|
boot() {
 | 
						|
	/sbin/block mount
 | 
						|
}
 | 
						|
 | 
						|
start() {
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
restart() {
 | 
						|
	return 0
 | 
						|
}
 | 
						|
 | 
						|
stop() {
 | 
						|
	/sbin/block umount
 | 
						|
}
 |