summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-07-14 17:39:20 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-07-14 17:39:20 +0000
commit618c5723cfd387a125e29bde6841ff1811896c8b (patch)
treedd26fc690aa4f70d5f997c99bb067ace9b23e1a8 /net-misc
parentStable on ppc wrt bug 230816 (diff)
downloadhistorical-618c5723cfd387a125e29bde6841ff1811896c8b.tar.gz
historical-618c5723cfd387a125e29bde6841ff1811896c8b.tar.bz2
historical-618c5723cfd387a125e29bde6841ff1811896c8b.zip
Fix init script, bug #231492
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tightvnc/ChangeLog5
-rw-r--r--net-misc/tightvnc/files/tightvnc.initd4
-rw-r--r--net-misc/vnc/ChangeLog5
-rw-r--r--net-misc/vnc/files/vnc.initd4
4 files changed, 12 insertions, 6 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog
index f86acfbb110c..b130256be40f 100644
--- a/net-misc/tightvnc/ChangeLog
+++ b/net-misc/tightvnc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/tightvnc
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.121 2008/02/29 20:18:18 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.122 2008/07/14 17:38:03 armin76 Exp $
+
+ 14 Jul 2008; Raúl Porcel <armin76@gentoo.org> files/tightvnc.initd:
+ Fix init script, bug #231492
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> tightvnc-1.3.9.ebuild,
tightvnc-1.3.9-r1.ebuild:
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 $?
}
diff --git a/net-misc/vnc/ChangeLog b/net-misc/vnc/ChangeLog
index 474611c31828..6fb5f3f694a2 100644
--- a/net-misc/vnc/ChangeLog
+++ b/net-misc/vnc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/vnc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.106 2008/07/05 17:44:37 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/ChangeLog,v 1.107 2008/07/14 17:39:19 armin76 Exp $
+
+ 14 Jul 2008; Raúl Porcel <armin76@gentoo.org> files/vnc.initd:
+ Fix init script, bug #231492
05 Jul 2008; Raúl Porcel <armin76@gentoo.org> vnc-4.1.2-r4.ebuild:
Fix autoconf failure, bug #220455, thanks to Christopher Covington for the
diff --git a/net-misc/vnc/files/vnc.initd b/net-misc/vnc/files/vnc.initd
index 000164e202e3..89475433532d 100644
--- a/net-misc/vnc/files/vnc.initd
+++ b/net-misc/vnc/files/vnc.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/vnc/files/vnc.initd,v 1.1 2007/04/12 17:43:35 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/files/vnc.initd,v 1.2 2008/07/14 17:39:20 armin76 Exp $
depend() {
need net
@@ -37,7 +37,7 @@ start() {
checkconfig start || return 1
ebegin "Starting VNC 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 $?
}