BeagleBone-Black的rc.local备份

 

  1. #!/bin/sh -e 
  2. # rc.local 
  3. # This script is executed at the end of each multiuser runlevel. 
  4. # Make sure that the script will "exit 0" on success or any other 
  5. # value on error. 
  6. # In order to enable or disable this script just change the execution 
  7. # bits. 
  8. # By default this script does nothing. 
  9.  
  10. su debian -c "vncserver -name debian -depth 16 -geometry 1366x768 -alwaysshared" 
  11. su debian -c "transmission-daemon --config-dir /etc/transmission-daemon/" 

 

奶牛 | 2015年02月22日