diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-03-29 10:58:20 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-03-29 10:58:20 +0000 |
commit | b08c7295c6cd0149314c1b01070292a22d38c983 (patch) | |
tree | 073a8409a875e326ba261ec8be1edf84e0cf204c /net-misc/vde | |
parent | Drop bashisms from init script. Thanks to Nico Baggus <mlspamcb@noci.xs4all.n... (diff) | |
download | gentoo-2-b08c7295c6cd0149314c1b01070292a22d38c983.tar.gz gentoo-2-b08c7295c6cd0149314c1b01070292a22d38c983.tar.bz2 gentoo-2-b08c7295c6cd0149314c1b01070292a22d38c983.zip |
Drop bashisms from init script. Thanks to Nico Baggus <mlspamcb@noci.xs4all.nl>. Bug #447240
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'net-misc/vde')
-rw-r--r-- | net-misc/vde/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/vde/files/vde.init | 8 |
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" } |