File sblim-gather-2.2.3-initstyle.patch of Package sblim-gather
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-sblim-gather-2.2.6/configure.ac ./configure.ac
--- ../orig-sblim-gather-2.2.6/configure.ac 2012-08-15 04:56:01.000000000 +0200
+++ ./configure.ac 2012-10-26 14:20:35.081581610 +0200
@@ -157,6 +157,12 @@
elif test -f /etc/SuSE-release
then
INIT_STYLE=init-suse
+elif test -d /etc/SuSEconfig
+then
+ INIT_STYLE=init-suse
+elif test -d /etc/susehelp.d
+then
+ INIT_STYLE=init-suse
else
INIT_STYLE=init-none
fi
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-sblim-gather-2.2.6/gatherer.init-suse.in ./gatherer.init-suse.in
--- ../orig-sblim-gather-2.2.6/gatherer.init-suse.in 2009-09-23 03:45:14.000000000 +0200
+++ ./gatherer.init-suse.in 2012-10-26 14:13:49.008941457 +0200
@@ -4,8 +4,15 @@
#
### BEGIN INIT INFO
# Provides: gatherd
+# Required-Start:
+# Required-Stop:
+# Should-Start:
+# Should-Stop:
+# X-Start-Before:
+# X-Stop-After:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
+# X-Interactive: false
# Short-Description: SBLIM Metric Gatherer collection daemon
# Description: Manage metric collections service
### END INIT INFO