Advertisement
Guest User

Untitled

a guest
Jan 16th, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #!/bin/sh
  2. # Basic support for the Linux Standard Base Specification 1.3
  3. ### BEGIN INIT INFO
  4. # Provides: x11vnc
  5. # Required-Start: lightdm
  6. # Required-Stop:
  7. # Default-Start: 2 3 4 5
  8. # Default-Stop: 0 1 6
  9. # Short-Description: Manages the services needed to run x11vnc software
  10. # Description: Manages the services needed to run x11vnc software
  11. ### END INIT INFO
  12.  
  13. start() {
  14. ebegin "Starting x11vnc"
  15. start-stop-daemon --start --quiet --pidfile /var/run/x11vnc.pid --make-pidfile --background --exec x11vnc -- -auth /var/r$
  16. eend $?
  17. }
  18.  
  19. stop() {
  20. ebegin "Stoping x11vnc"
  21. start-stop-daemon --stop --quiet --pidfile /var/run/x11vnc.pid
  22. eend $?
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement