projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Use hash table instead of sparse array for ofports.
[openvswitch]
/
debian
/
openvswitch-switch.init
diff --git
a/debian/openvswitch-switch.init
b/debian/openvswitch-switch.init
index d860630378d10fc1c2758553996f9efac58e445f..0907cdf7ca96120253b872f3a682a32f13537be9 100755
(executable)
--- a/
debian/openvswitch-switch.init
+++ b/
debian/openvswitch-switch.init
@@
-93,10
+93,10
@@
force_stop() {
[ ! -f "$pidfile" ] && return
if running $name; then
kill $pid
[ ! -f "$pidfile" ] && return
if running $name; then
kill $pid
- [ -n "$DODTIME" ] && sleep "$DODTIME"
s
+ [ -n "$DODTIME" ] && sleep "$DODTIME"
if running $name; then
kill -KILL $pid
if running $name; then
kill -KILL $pid
- [ -n "$DODTIME" ] && sleep "$DODTIME"
s
+ [ -n "$DODTIME" ] && sleep "$DODTIME"
if running $name; then
echo "Cannot kill $name (pid=$pid)!"
exit 1
if running $name; then
echo "Cannot kill $name (pid=$pid)!"
exit 1
@@
-157,7
+157,7
@@
load_module() {
echo "For instructions, read"
echo "/usr/share/doc/openvswitch-datapath-source/README.Debian"
fi
echo "For instructions, read"
echo "/usr/share/doc/openvswitch-datapath-source/README.Debian"
fi
- exit
1
+ exit
0
fi
}
fi
}
@@
-257,7
+257,7
@@
case "$1" in
echo " ERROR."
fi
echo " ERROR."
fi
- ovs-vsctl --no-wait init
+ ovs-vsctl --no-wait
--timeout=5
init
# Start ovs-vswitchd.
set --
# Start ovs-vswitchd.
set --