File sblim-gather-2.2.3-initstyle.patch of Package sblim-gather
diff -wruN -x '*~' ../orig-sblim-gather-2.2.3/configure.ac ./configure.ac
--- ../orig-sblim-gather-2.2.3/configure.ac 2011-05-18 04:12:52.000000000 +0200
+++ ./configure.ac 2011-09-17 12:51:15.000000000 +0200
@@ -157,6 +157,9 @@
elif test -f /etc/SuSE-release
then
INIT_STYLE=init-suse
+elif test -d /etc/SuSEconfig
+then
+ INIT_STYLE=init-suse
else
INIT_STYLE=init-none
fi
diff -wruN -x '*~' ../orig-sblim-gather-2.2.3/gatherer.init-suse.in ./gatherer.init-suse.in
--- ../orig-sblim-gather-2.2.3/gatherer.init-suse.in 2009-09-23 03:45:14.000000000 +0200
+++ ./gatherer.init-suse.in 2011-09-17 12:56:12.000000000 +0200
@@ -5,7 +5,9 @@
### BEGIN INIT INFO
# Provides: gatherd
# Default-Start: 3 5
+# Required-Start:
# Default-Stop: 0 1 2 6
+# Required-Stop:
# Short-Description: SBLIM Metric Gatherer collection daemon
# Description: Manage metric collections service
### END INIT INFO