diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:08:23 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:08:23 (GMT) |
commit | 68b345130ca4f46f3482bc023d2c325dbbf254b7 (patch) | |
tree | 9c1b74e9e64edd59692334ab82810924cd98a0a7 | |
parent | 400501639cf4cb3ea8ed01f3c19dadf5c5bed00c (diff) | |
download | linhes_pkgbuild-68b345130ca4f46f3482bc023d2c325dbbf254b7.zip linhes_pkgbuild-68b345130ca4f46f3482bc023d2c325dbbf254b7.tar.gz linhes_pkgbuild-68b345130ca4f46f3482bc023d2c325dbbf254b7.tar.bz2 |
runit-scripts: on shutdown force remove of x:1
-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 |