Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Basic support for the Linux Standard Base Specification 1.3
- ### BEGIN INIT INFO
- # Provides: x11vnc
- # Required-Start: lightdm
- # Required-Stop:
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: Manages the services needed to run x11vnc software
- # Description: Manages the services needed to run x11vnc software
- ### END INIT INFO
- start() {
- ebegin "Starting x11vnc"
- start-stop-daemon --start --quiet --pidfile /var/run/x11vnc.pid --make-pidfile --background --exec x11vnc -- -auth /var/r$
- eend $?
- }
- stop() {
- ebegin "Stoping x11vnc"
- start-stop-daemon --stop --quiet --pidfile /var/run/x11vnc.pid
- eend $?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement