Merge pull request #738 from dne/openbsd-start-on-boot-absent
Implement "__start_on_boot --state absent" for OpenBSD
This commit is contained in:
		
				commit
				
					
						2155ab7ea2
					
				
			
		
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -82,7 +82,7 @@ case "$state_should" in
 | 
			
		|||
                ;;
 | 
			
		||||
 | 
			
		||||
                openbsd)
 | 
			
		||||
                    # OpenBSD 5.7 and phigher
 | 
			
		||||
                    # OpenBSD 5.7 and higher
 | 
			
		||||
                    echo "rcctl enable '$name'"
 | 
			
		||||
                ;;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -116,6 +116,11 @@ case "$state_should" in
 | 
			
		|||
 | 
			
		||||
                openwrt)
 | 
			
		||||
                    echo "'/etc/init.d/$name' disable"
 | 
			
		||||
                    ;;
 | 
			
		||||
 | 
			
		||||
                openbsd)
 | 
			
		||||
                    # OpenBSD 5.7 and higher
 | 
			
		||||
                    echo "rcctl disable '$name'"
 | 
			
		||||
                ;;
 | 
			
		||||
 | 
			
		||||
                *)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue