diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/vnc/finish | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/vnc/finish b/abs/core/runit-scripts/runitscripts/services/vnc/finish index 243488c..605a0c4 100755 --- a/abs/core/runit-scripts/runitscripts/services/vnc/finish +++ b/abs/core/runit-scripts/runitscripts/services/vnc/finish @@ -7,3 +7,8 @@ export TERM=linux stat_runit "Stopping vnc service" rm -f /etc/avahi/services/vnc.service 2>/dev/null su vncsvc -c "vncserver -kill :1" +XFILE="/tmp/.X11-unix/X1" +if [ -e $XFILE ] +then + rm -f $XFILE +fi |