File dcbd-0.7.35rt-config.diff of Package dcbd
Index: dcbd-0.7.31rt/Makefile
===================================================================
--- dcbd-0.7.31rt.orig/Makefile
+++ dcbd-0.7.31rt/Makefile
@@ -43,7 +43,7 @@ CPPFLAGS += -static-libgcc -Iinclude $(
RM = /bin/rm -f
-DEFAULT_CFG_PATH = /etc/sysconfig/
+DEFAULT_CFG_PATH = /etc/
DEFAULT_MAN_PATH = /usr/share/man
# library to use when linking the main program
Index: dcbd-0.7.31rt/include/dcbd.h
===================================================================
--- dcbd-0.7.31rt.orig/include/dcbd.h
+++ dcbd-0.7.31rt/include/dcbd.h
@@ -43,7 +43,7 @@
#define CLIF_IFACE_DIR "/var/run/dcbd"
#define CLIF_IFACE_IFNAME "clif"
-#define DEFAULT_CFG_FILE "/etc/sysconfig/dcbd.conf"
+#define DEFAULT_CFG_FILE "/etc/dcbd.conf"
#define DEFAULT_DCBX_VERSION 1
Index: dcbd-0.7.31rt/README
===================================================================
--- dcbd-0.7.31rt.orig/README
+++ dcbd-0.7.31rt/README
@@ -158,7 +158,7 @@ dcbd Application Install
make clean; make; make install.
This will build and copy 'dcbd' and 'dcbtool' to /usr/sbin, make the
- '/etc/sysconfig/dcbd' directory (default location of the dcbd.conf file)
+ '/etc/' directory (default location of the dcbd.conf file)
and setup dcbd to run as a system service using the chkconfig program.
Verify that the dcbd service is working as expected with the
'service dcbd status' command. If the service is not on, issue the command