mirror of https://github.com/CIRCL/Circlean
				
				
				
			Moving autosleep from rc.local to init.sh
							parent
							
								
									c51531f77c
								
							
						
					
					
						commit
						1ecf260f67
					
				|  | @ -31,8 +31,6 @@ if [ -e /dev/sda ]; then | |||
|   if [ -e /dev/sdb ]; then | ||||
|     # Avoid possible misuse - turn off eth0 (ethernet port) | ||||
|     /sbin/ifconfig eth0 down | ||||
|     # Stop hdmi display from sleeping after a period of time | ||||
|     setterm -powersave off -blank 0 | ||||
|     trap clean EXIT TERM INT | ||||
|     cd /opt/groomer | ||||
|     ./init.sh | ||||
|  |  | |||
|  | @ -22,6 +22,9 @@ clean(){ | |||
| 
 | ||||
| trap clean EXIT TERM INT | ||||
| 
 | ||||
| # Stop hdmi display from sleeping after a period of time | ||||
| setterm -powersave off -blank 0 | ||||
| 
 | ||||
| # Start music | ||||
| ./music.sh & | ||||
| echo $! > /tmp/music.pid | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Dan Puttick
						Dan Puttick