23 lines
		
	
	
		
			348 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			348 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/sbin/runscript
 | |
| # Copyright (c) 2011 Sergey Popov <admin@pinkbyte.ru>
 | |
| # All rights reserved. Released under the 2-clause BSD license.
 | |
| 
 | |
| description="Yet Another Stupid Network Daemon (early call for LPT locking)"
 | |
| 
 | |
| depend()
 | |
| {
 | |
| 	need logger
 | |
| }
 | |
| 
 | |
| start()
 | |
| {
 | |
| 	ebegin "Starting LPT locking for yasnd"
 | |
| 	/usr/sbin/yasnd --init
 | |
| 	eend $?
 | |
| }
 | |
| 
 | |
| stop()
 | |
| {
 | |
| 	eend 0
 | |
| }
 |