summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/vde/ChangeLog6
-rw-r--r--net-misc/vde/files/vde.init8
2 files changed, 9 insertions, 5 deletions
diff --git a/net-misc/vde/ChangeLog b/net-misc/vde/ChangeLog
index f524dab6a762..386e953a3e9b 100644
--- a/net-misc/vde/ChangeLog
+++ b/net-misc/vde/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/vde
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.27 2013/03/17 15:05:09 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/ChangeLog,v 1.28 2013/03/29 10:58:20 hwoarang Exp $
+
+ 29 Mar 2013; Markos Chandras <hwoarang@gentoo.org> files/vde.init:
+ Drop bashisms from init script. Thanks to Nico Baggus
+ <mlspamcb@noci.xs4all.nl>. Bug #447240
17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Add proxy-maintainers to metadata.xml
diff --git a/net-misc/vde/files/vde.init b/net-misc/vde/files/vde.init
index 6400f9bbb23a..e1e3887925f8 100644
--- a/net-misc/vde/files/vde.init
+++ b/net-misc/vde/files/vde.init
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 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.4 2010/01/12 12:58:36 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v 1.5 2013/03/29 10:58:19 hwoarang Exp $
depend() {
after net.${VDE_TAP}
@@ -10,7 +10,7 @@ depend() {
start() {
ebegin "Starting vde"
- [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe tun
+ [ "${VDE_MODPROBE_TUN}" = "yes" ] && modprobe tun
start-stop-daemon --start --quiet \
--exec /usr/bin/vde_switch -- ${VDE_OPTS}
eend $? "Failed to start vde"
@@ -20,7 +20,7 @@ start() {
stop() {
ebegin "Stopping vde"
- [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe -r tun
start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch
+ [ "${VDE_MODPROBE_TUN}" = "yes" ] && modprobe -r tun
eend $? "Failed to stop vde"
}