mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			312 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			312 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| 
 | |
| command="/usr/bin/babeld"
 | |
| command_args="-I '' $ARGS"
 | |
| supervisor="supervise-daemon"
 | |
| 
 | |
| depend() {
 | |
| 	need net
 | |
| 	after firewall
 | |
| }
 | |
| 
 | |
| start_pre() {
 | |
| 	if [ -z "$ARGS" ] && [ ! -s "/etc/babeld.conf" ]; then
 | |
| 		echo "ERROR: No configuration found in /etc/conf.d/babeld or /etc/babeld.conf"
 | |
| 		return 1
 | |
| 	fi
 | |
| }
 |