[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freeipmi-devel] [PATCH 3/9] Add sample configuration file for ipmidetec
From: |
Jan Safranek |
Subject: |
[Freeipmi-devel] [PATCH 3/9] Add sample configuration file for ipmidetectd |
Date: |
Wed, 23 Sep 2009 12:46:13 +0200 |
User-agent: |
StGIT/0.14.3 |
As noted in previous patch, it would help if there is sample configuration
file for ipmidetectd. Here is my proposal.
Signed-off-by: Jan Safranek <address@hidden>
---
ipmidetect/Makefile.am | 5 ++++-
ipmidetect/ipmidetectd.conf | 15 +++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
create mode 100644 ipmidetect/ipmidetectd.conf
diff --git a/ipmidetect/Makefile.am b/ipmidetect/Makefile.am
index d869f22..b265564 100644
--- a/ipmidetect/Makefile.am
+++ b/ipmidetect/Makefile.am
@@ -16,9 +16,10 @@ CLEANFILES = $(MANS_CPP) *~
DISTCLEANFILES = $(MANS_CPP) $(MANS_CPP:%=%.pre) .deps/*.P
-EXTRA_DIST = freeipmi-ipmidetectd.init
+EXTRA_DIST = freeipmi-ipmidetectd.init ipmidetectd.conf
install-data-local: $(INSTALL_INIT_SCRIPTS)
+ $(INSTALL) -m 644 $(srcdir)/ipmidetectd.conf
$(DESTDIR)$(sysconfdir)/ipmidetectd.conf
install-init-scripts:
$(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/init.d
@@ -26,3 +27,5 @@ install-init-scripts:
uninstall-local:
$(RM) -f $(DESTDIR)$(sysconfdir)/init.d/freeipmi-ipmidetectd
+ $(RM) -f $(DESTDIR)$(sysconfdir)/ipmidetectd.conf
+
diff --git a/ipmidetect/ipmidetectd.conf b/ipmidetect/ipmidetectd.conf
new file mode 100644
index 0000000..769f43e
--- /dev/null
+++ b/ipmidetect/ipmidetectd.conf
@@ -0,0 +1,15 @@
+##########################################################################################################
+#
+# IPMIdetectd configuration file.
+#
+# For more information on the fields below, please see the manpage
+# ipmidetectd.conf(5).
+#
+# P.S. If you configure different values, remember to uncomment the line :-)
+#
+##########################################################################################################
+#
+# ipmiping_period 15000
+# ipmidetectd_server_port 9225
+#
+# host <hostname>
- [Freeipmi-devel] [PATCH 0/9] Unsorted init script tuning, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 1/9] Initscript should return '5' when 'program is not installed', Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 2/9] Return '6' if there is no config file, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 3/9] Add sample configuration file for ipmidetectd,
Jan Safranek <=
- [Freeipmi-devel] [PATCH 4/9] Don't start running service, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 5/9] Reload operation is not supported by the daemons, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 6/9] Add missing actions, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 7/9] Return proper exit code, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 8/9] Rename lockfiles, Jan Safranek, 2009/09/23
- [Freeipmi-devel] [PATCH 9/9] Remove freeipmi- prefix from initscript, Jan Safranek, 2009/09/23
- Re: [Freeipmi-devel] [PATCH 0/9] Unsorted init script tuning, Al Chu, 2009/09/23