]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorroot Samara <root@samara.pb.local>
Mon, 18 Jan 2016 14:21:20 +0000 (15:21 +0100)
committerroot Samara <root@samara.pb.local>
Mon, 18 Jan 2016 14:21:20 +0000 (15:21 +0100)
init.d/vde

index 6400f9bbb23ae76a699a4b2275651068317871a2..9a1500eeae9e6e37185f58c1c906b90ed93e83b7 100755 (executable)
@@ -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 $
+# $Id$
 
 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"
 }