From c9b49fc7f652cf1b065b526742ba6021abe91932 Mon Sep 17 00:00:00 2001 From: hieplpvip Date: Thu, 30 May 2019 12:35:58 +0700 Subject: [PATCH] Update script to run tightvncserver on startup --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a5741c..14ee33b 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,14 @@ Add the following content and change `1440x900` to `1920x1080`: ``` #!/bin/bash # /etc/init.d/tightvncserver -# +### BEGIN INIT INFO +# Provides: tightvncserver +# Required-Start: $all +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Run tightvncserver on startup +### END INIT INFO # Carry out specific functions when asked to by the system case "$1" in