summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/vnc/finish
blob: 243488ccecc0defef52d970d7bd6b380a6ab79cc (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#set -x
exec 2>&1
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
stat_runit "Stopping vnc service"
rm -f /etc/avahi/services/vnc.service 2>/dev/null
su vncsvc -c "vncserver -kill :1"