1 |
hwoarang 13/03/29 10:58:20 |
2 |
|
3 |
Modified: vde.init |
4 |
Log: |
5 |
Drop bashisms from init script. Thanks to Nico Baggus <mlspamcb@×××××××××××.nl>. Bug #447240 |
6 |
|
7 |
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 net-misc/vde/files/vde.init |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vde/files/vde.init?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vde/files/vde.init?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vde/files/vde.init?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: vde.init |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- vde.init 12 Jan 2010 12:58:36 -0000 1.4 |
23 |
+++ vde.init 29 Mar 2013 10:58:19 -0000 1.5 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
-# Copyright 1999-2010 Gentoo Foundation |
27 |
+# Copyright 1999-2013 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v 1.4 2010/01/12 12:58:36 dang Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vde/files/vde.init,v 1.5 2013/03/29 10:58:19 hwoarang Exp $ |
31 |
|
32 |
depend() { |
33 |
after net.${VDE_TAP} |
34 |
@@ -10,7 +10,7 @@ |
35 |
|
36 |
start() { |
37 |
ebegin "Starting vde" |
38 |
- [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe tun |
39 |
+ [ "${VDE_MODPROBE_TUN}" = "yes" ] && modprobe tun |
40 |
start-stop-daemon --start --quiet \ |
41 |
--exec /usr/bin/vde_switch -- ${VDE_OPTS} |
42 |
eend $? "Failed to start vde" |
43 |
@@ -20,7 +20,7 @@ |
44 |
|
45 |
stop() { |
46 |
ebegin "Stopping vde" |
47 |
- [ "${VDE_MODPROBE_TUN}" == "yes" ] && modprobe -r tun |
48 |
start-stop-daemon --stop --quiet --exec /usr/bin/vde_switch |
49 |
+ [ "${VDE_MODPROBE_TUN}" = "yes" ] && modprobe -r tun |
50 |
eend $? "Failed to stop vde" |
51 |
} |