6 lines
		
	
	
		
			124 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			124 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| [ -e "/sys/class/leds/alix:${2}/brightness"  ] && {
 | |
| 	/bin/echo ${1} > "/sys/class/leds/alix:${2}/brightness"
 | |
| }
 |