mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			553 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			553 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| 
 | |
| description="iNet wireless daemon"
 | |
| 
 | |
| : ${error_logger="logger -t iwd -p daemon.info >/dev/null 2>&1"}
 | |
| : ${start_wait=50}  # milliseconds
 | |
| 
 | |
| command="/usr/libexec/iwd"
 | |
| command_background="yes"
 | |
| command_args="
 | |
| 	${allowed_interfaces:+"--interfaces \"$allowed_interfaces\""}
 | |
| 	${ignored_interfaces:+"--nointerfaces \"$ignored_interfaces\""}
 | |
| 	${command_args:-}
 | |
| 	"
 | |
| start_stop_daemon_args="
 | |
| 	${start_wait:+--wait $start_wait}
 | |
| 	${start_stop_daemon_args:-}
 | |
| 	"
 | |
| pidfile="/run/$RC_SVCNAME.pid"
 | |
| 
 | |
| depend() {
 | |
| 	need dbus
 | |
| 	before net
 | |
| 	keyword -shutdown
 | |
| }
 |