Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. # /etc/init.d/kindlestart.py
  2. ### BEGIN INIT INFO
  3. # Provides: kindlestart.sh
  4. # Required-Start: $remote_fs $syslog
  5. # Required-Stop: $remote_fs $syslog
  6. # Default-Start: 2 3 4 5
  7. # Default-Stop: 0 1 6
  8. # Short-Description: Start daemon at boot time
  9. # Description: Enable service provided by daemon.
  10. ### END INIT INFO
  11.  
  12. sudo ifconfig usb1 192.168.15.2
  13. vncserver
  14. sshpass -p 'fiona69b' ssh root@192.168.15.244 /etc/init.d/netwatchd stop
  15. sshpass -p 'fiona69b' ssh root@192.168.15.244 /etc/init.d/powerd stop
  16. sshpass -p 'fiona69b' ssh root@192.168.15.244 /mnt/us/kindlevncviewer/kvncviewer.sh -password Rivers17 192.168.15.2:0 &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement