summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-03-06 16:30:55 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-03-06 16:30:55 +0000
commit0ee1e6fee35e2ef700043d68bd6c06a0d31b52f2 (patch)
tree3fa8dff080b0f877c3cb801694e850a10bc80f1f /net-misc/tigervnc
parentVersion bump (diff)
downloadhistorical-0ee1e6fee35e2ef700043d68bd6c06a0d31b52f2.tar.gz
historical-0ee1e6fee35e2ef700043d68bd6c06a0d31b52f2.tar.bz2
historical-0ee1e6fee35e2ef700043d68bd6c06a0d31b52f2.zip
Provide valid shell, wrt bug #285705
Package-Manager: portage-2.1.7.17/cvs/Linux ia64
Diffstat (limited to 'net-misc/tigervnc')
-rw-r--r--net-misc/tigervnc/ChangeLog5
-rw-r--r--net-misc/tigervnc/files/tigervnc.initd6
2 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/tigervnc/ChangeLog b/net-misc/tigervnc/ChangeLog
index 0ed8f5e6ac46..706150f9d5b6 100644
--- a/net-misc/tigervnc/ChangeLog
+++ b/net-misc/tigervnc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/tigervnc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.42 2010/03/06 16:27:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.43 2010/03/06 16:30:01 armin76 Exp $
+
+ 06 Mar 2010; Raúl Porcel <armin76@gentoo.org> files/tigervnc.initd:
+ Provide valid shell, wrt bug #285705
*tigervnc-1.0.1_pre20100306 (06 Mar 2010)
diff --git a/net-misc/tigervnc/files/tigervnc.initd b/net-misc/tigervnc/files/tigervnc.initd
index 9d1a4159c38a..7f4b466eea2c 100644
--- a/net-misc/tigervnc/files/tigervnc.initd
+++ b/net-misc/tigervnc/files/tigervnc.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/tigervnc/files/tigervnc.initd,v 1.2 2009/05/25 16:42:17 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/files/tigervnc.initd,v 1.3 2010/03/06 16:30:03 armin76 Exp $
depend() {
need net
@@ -37,7 +37,7 @@ start() {
checkconfig start || return 1
ebegin "Starting TigerVNC server"
for user in $DISPLAYS; do
- su ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null
+ su -s /bin/sh ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null
done
eend $?
}
@@ -46,7 +46,7 @@ stop() {
checkconfig stop || return 2
ebegin "Stopping TigerVNC server"
for user in $DISPLAYS; do
- su ${user%%:*} -c "vncserver -kill :${user##*:}" &>/dev/null
+ su -s /bin/sh ${user%%:*} -c "vncserver -kill :${user##*:}" &>/dev/null
done
eend $?
}