Advertisement
Guest User

Untitled

a guest
Nov 8th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. pi@retropie:~ $ sudo nano /etc/rc.local
  2.  
  3.   GNU nano 2.2.6            File: /etc/rc.local                                
  4.  
  5. #
  6. # By default this script does nothing.
  7.  
  8. # Print the IP address
  9. _IP=$(hostname -I) || true
  10. if [ "$_IP" ]; then
  11.   printf "My IP address is %s\n" "$_IP"
  12. fi
  13.  
  14. sudo python3 /opt/RetroFlag/SafeShutdown.py &
  15. dmesg --console-off
  16. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement