diff options
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/vnc/finish | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index b9ec500..47ffd97 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=2.1.1 -pkgrel=88 +pkgrel=89 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" 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 |