forked from Spark/ssm-services
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			220 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			220 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env watchman
 | |
| 
 | |
| service_type='oneshot'
 | |
| service_command='/bin/smdev'
 | |
| service_args='-s'
 | |
| 
 | |
| hotplug() {
 | |
| 	echo "Enabling hotplug..."
 | |
| 	echo /bin/smdev > /proc/sys/kernel/hotplug
 | |
| }
 | |
| 
 | |
| start() {
 | |
| 	watchman.start
 | |
| 	hotplug
 | |
| }
 |