summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-20 12:23:29 +0000
committerRoy Marples <roy@marples.name>2008-05-20 12:23:29 +0000
commit0aeb350cfa645e333dbbc353064408e81ba8c93c (patch)
tree90d928d7d2776c2de02e7800a4149ac9dfedebd3 /config.h
parentc61c4118d8a688f26a9bd53b061090aca5e45f66 (diff)
downloaddhcpcd-0aeb350cfa645e333dbbc353064408e81ba8c93c.tar.xz
Install dhcpcd.sh and hooks into /libexec by default. dhcpcd.conf, dhcpcd.duid and dhcpcd.hook are now in /etc.
Diffstat (limited to 'config.h')
-rw-r--r--config.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.h b/config.h
index 4d9fe899..37deba5f 100644
--- a/config.h
+++ b/config.h
@@ -63,6 +63,9 @@
#ifndef SYSCONFDIR
# define SYSCONFDIR "/etc/" PACKAGE
#endif
+#ifndef LIBEXECDIR
+# define LIBEXECDIR "/libexec"
+#endif
#ifndef RUNDIR
# define RUNDIR "/var/run"
#endif
@@ -70,14 +73,14 @@
# define DBDIR "/var/db"
#endif
-#ifndef CONFIGFILE
-# define CONFIGFILE SYSCONFDIR "/" PACKAGE ".conf"
+#ifndef CONFIG
+# define CONFIG SYSCONFDIR "/" PACKAGE ".conf"
#endif
#ifndef SCRIPT
-# define SCRIPT SYSCONFDIR "/" PACKAGE ".sh"
+# define SCRIPT LIBEXECDIR "/" PACKAGE ".sh"
#endif
-#ifndef DUIDFILE
-# define DUIDFILE SYSCONFDIR "/" PACKAGE ".duid"
+#ifndef DUID
+# define DUID SYSCONFDIR "/" PACKAGE ".duid"
#endif
#ifndef LEASEFILE
# define LEASEFILE DBDIR "/" PACKAGE "-%s.lease"