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