diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-06-09 15:38:23 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-06-09 15:38:23 +0000 |
commit | 925afb973d1c0f799f184c6d42a94de753466b2c (patch) | |
tree | e76fc0f70684707417bd957d6329cef28cb6bb4b /net-misc/vde | |
parent | Drop the postgres use flag because the jdbc driver is only used at runtime an... (diff) | |
download | gentoo-2-925afb973d1c0f799f184c6d42a94de753466b2c.tar.gz gentoo-2-925afb973d1c0f799f184c6d42a94de753466b2c.tar.bz2 gentoo-2-925afb973d1c0f799f184c6d42a94de753466b2c.zip |
Fix failing script thanks to Giuliano Gagliardi <gentoo@gogi.tv> in bug 181193
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-misc/vde')
-rw-r--r-- | net-misc/vde/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/vde/files/vde.init | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog index da2cf6e2f7f3..2e4891a487ed 100644 --- a/net-misc/vde/ChangeLog +++ b/net-misc/vde/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/vde # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.10 2007/02/12 22:58:21 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.11 2007/06/09 15:38:23 genstef Exp $ + + 09 Jun 2007; Stefan Schweizer <genstef@gentoo.org> files/vde.init: + Fix failing script thanks to Giuliano Gagliardi <gentoo@gogi.tv> in bug 181193 12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> vde-2.1.6.ebuild: Add ~amd64 wrt bug #166346. diff --git a/net-misc/vde/files/vde.init b/net-misc/vde/files/vde.init index 0f55d5805c29..0bed9b8b5ade 100644 --- a/net-misc/vde/files/vde.init +++ b/net-misc/vde/files/vde.init @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v 1.1 2006/06/26 09:10:46 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v 1.2 2007/06/09 15:38:23 genstef Exp $ depend() { before net.${VDE_TAP} @@ -13,14 +13,14 @@ start() { [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe tun start-stop-daemon --start --quiet \ --exec /usr/bin/vde_switch -- -tap ${VDE_TAP} -daemon + eend $? "Failed to start vde" chmod -R ${VDE_SOCK_CHMOD} /var/run/vde.ctl chown -R ${VDE_SOCK_CHOWN} /var/run/vde.ctl - eend $? "Failed to start vde" } stop() { ebegin "Stopping vde" - start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe -r tun + start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch eend $? "Failed to stop vde" } |