diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-07-14 17:38:03 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-07-14 17:38:03 +0000 |
commit | 97359a2ccc26c0de7e2b500d774c260aceae25f0 (patch) | |
tree | b42ad12609240ca11f7685c5250e42046e633464 /net-misc/tightvnc/files | |
parent | Stable on ppc wrt bug 230816 (diff) | |
download | gentoo-2-97359a2ccc26c0de7e2b500d774c260aceae25f0.tar.gz gentoo-2-97359a2ccc26c0de7e2b500d774c260aceae25f0.tar.bz2 gentoo-2-97359a2ccc26c0de7e2b500d774c260aceae25f0.zip |
Fix init script, bug #231492
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/tightvnc/files')
-rw-r--r-- | net-misc/tightvnc/files/tightvnc.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/tightvnc/files/tightvnc.initd b/net-misc/tightvnc/files/tightvnc.initd index 29adfa8e3633..b028f5b3cdef 100644 --- a/net-misc/tightvnc/files/tightvnc.initd +++ b/net-misc/tightvnc/files/tightvnc.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/files/tightvnc.initd,v 1.1 2007/04/12 21:00:48 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/files/tightvnc.initd,v 1.2 2008/07/14 17:38:03 armin76 Exp $ depend() { need net @@ -37,7 +37,7 @@ start() { checkconfig start || return 1 ebegin "Starting TightVNC server" for user in $DISPLAYS; do - su ${user%%:*} -c "cd /home/${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null + su ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null done eend $? } |