freeipmi-devel
[Top][All Lists]
Advanced

[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>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]