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
/
corekeeper.init
diff --git
a/debian/corekeeper.init
b/debian/corekeeper.init
index 27d62a12475ee725d9b2a737525ff53fe72cf37f..b116f6821b4011e323b827e03ca741065ba6236e 100755
(executable)
--- a/
debian/corekeeper.init
+++ b/
debian/corekeeper.init
@@
-6,6
+6,7
@@
# adjust it to the program you want to run.
#
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org>
# adjust it to the program you want to run.
#
# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org>
+# Copyright (c) 2009 Nicira Networks, Inc.
#
# This is free software; you may redistribute it and/or modify
# it under the terms of the GNU General Public License as
#
# This is free software; you may redistribute it and/or modify
# it under the terms of the GNU General Public License as
@@
-24,8
+25,8
@@
#
### BEGIN INIT INFO
# Provides: corekeeper
#
### BEGIN INIT INFO
# Provides: corekeeper
-# Required-Start:
-# Required-Stop:
+# Required-Start:
$remote_fs
+# Required-Stop:
$remote_fs
# Should-Start: $syslog
# Should-Stop:
# Default-Start: 2 3 4 5
# Should-Start: $syslog
# Should-Stop:
# Default-Start: 2 3 4 5
@@
-41,8
+42,8
@@
set -e
case "$1" in
start)
case "$1" in
start)
- log_daemon_msg "Initializing core dump location..."
- if echo "/var/log/core/core.%e.%t" > /proc/sys/kernel/core_pattern
+
log_daemon_msg "Initializing core dump location..."
+ if echo "/var/log/core/core.%e.%t
.%p
" > /proc/sys/kernel/core_pattern
then
log_progress_msg "success"
log_end_msg 0
then
log_progress_msg "success"
log_end_msg 0
@@
-51,13
+52,13
@@
case "$1" in
log_end_msg 1
exit 1
fi
log_end_msg 1
exit 1
fi
- ;;
+
;;
stop|restart|force-reload|status|reload)
exit 0
;;
*)
stop|restart|force-reload|status|reload)
exit 0
;;
*)
- 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
esac