projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suppress ovsdb-server log messages about connections from ovs-vsctl.
[openvswitch]
/
debian
/
openvswitch-wdt.init
diff --git
a/debian/openvswitch-wdt.init
b/debian/openvswitch-wdt.init
index b1c0ec5e7420cf2df46ee17e45e936c4f1ee4167..06d8fcccb479b8f61188648e6fe11cd1b7dfe028 100755
(executable)
--- a/
debian/openvswitch-wdt.init
+++ b/
debian/openvswitch-wdt.init
@@
-24,8
+24,8
@@
#
### BEGIN INIT INFO
# Provides: openvswitch-wdt
#
### BEGIN INIT INFO
# Provides: openvswitch-wdt
-# Required-Start: $network $local_fs
-# Required-Stop:
+# Required-Start: $network $local_fs
$remote_fs
+# Required-Stop:
$remote_fs
# Should-Start: $named $syslog openvswitch-switch
# Should-Stop:
# Default-Start: 2 3 4 5
# Should-Start: $named $syslog openvswitch-switch
# Should-Stop:
# Default-Start: 2 3 4 5
@@
-37,9
+37,9
@@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/ovs-wdt
NAME=openvswitch-wdt
DAEMON=/usr/sbin/ovs-wdt
NAME=openvswitch-wdt
-DESC="Open vSwitch
switch
watchdog"
+DESC="Open vSwitch watchdog"
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/var/run/
openvswitch/
$NAME.pid
test -x $DAEMON || exit 0
test -x $DAEMON || exit 0
@@
-56,7
+56,7
@@
DODTIME=10 # Time to wait for the daemon to die, in seconds
# Include defaults if available
if [ -f /etc/default/$NAME ] ; then
# Include defaults if available
if [ -f /etc/default/$NAME ] ; then
-
. /etc/default/$NAME
+ . /etc/default/$NAME
fi
set -e
fi
set -e
@@
-107,7
+107,7
@@
stop_daemon() {
case "$1" in
start)
case "$1" in
start)
- log_daemon_msg "Starting $DESC " "$NAME"
+
log_daemon_msg "Starting $DESC " "$NAME"
# Check if it's running first
if running ; then
log_progress_msg "apparently already running"
# Check if it's running first
if running ; then
log_progress_msg "apparently already running"
@@
-125,7
+125,7
@@
case "$1" in
# a false positive (use 'status' for that)
log_end_msg 1
fi
# a false positive (use 'status' for that)
log_end_msg 1
fi
- ;;
+
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
if running ; then
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
if running ; then
@@
-149,7
+149,7
@@
case "$1" in
start_daemon
running
log_end_msg $?
start_daemon
running
log_end_msg $?
- ;;
+
;;
status)
log_daemon_msg "Checking status of $DESC" "$NAME"
if running ; then
status)
log_daemon_msg "Checking status of $DESC" "$NAME"
if running ; then
@@
-167,10
+167,10
@@
case "$1" in
log_warning_msg "cannot re-read the config file (use restart)."
;;
*)
log_warning_msg "cannot re-read the config file (use restart)."
;;
*)
- N=/etc/init.d/$NAME
- echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
- exit 1
- ;;
+
N=/etc/init.d/$NAME
+
echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
+
exit 1
+
;;
esac
exit 0
esac
exit 0