]> git.ipfire.org Git - thirdparty/dhcpcd.git/blame - config.h
Release dhcpcd-5.0.5
[thirdparty/dhcpcd.git] / config.h
CommitLineData
cced195e 1/*
1f8f3dbd 2 * dhcpcd - DHCP client daemon
601fb3d5 3 * Copyright (c) 2006-2009 Roy Marples <roy@marples.name>
fc367a01
RM
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
cced195e
RM
25 */
26
c3d07f4c
RM
27#ifndef CONFIG_H
28#define CONFIG_H
29
7b15d336 30#define PACKAGE "dhcpcd"
3e87456b 31#define VERSION "5.0.5"
7b15d336 32
1a60d14f 33/* Some systems do not have a working fork. */
1fe2d190 34/* #define THERE_IS_NO_FORK */
3e120d46 35
7b15d336 36/* Paths to things */
c46c624e 37#ifndef SYSCONFDIR
9f1fea6b 38# define SYSCONFDIR "/etc"
c46c624e 39#endif
0aeb350c
RM
40#ifndef LIBEXECDIR
41# define LIBEXECDIR "/libexec"
42#endif
c46c624e
RM
43#ifndef RUNDIR
44# define RUNDIR "/var/run"
45#endif
c46c624e
RM
46#ifndef DBDIR
47# define DBDIR "/var/db"
d9953ffb 48#endif
7eb93bd9 49
0aeb350c
RM
50#ifndef CONFIG
51# define CONFIG SYSCONFDIR "/" PACKAGE ".conf"
9934ead6
RM
52#endif
53#ifndef SCRIPT
ee4e620a 54# define SCRIPT LIBEXECDIR "/" PACKAGE "-run-hooks"
9934ead6 55#endif
0aeb350c
RM
56#ifndef DUID
57# define DUID SYSCONFDIR "/" PACKAGE ".duid"
9934ead6
RM
58#endif
59#ifndef LEASEFILE
60# define LEASEFILE DBDIR "/" PACKAGE "-%s.lease"
61#endif
62#ifndef PIDFILE
fd05b7dc 63# define PIDFILE RUNDIR "/" PACKAGE "%s%s.pid"
9934ead6 64#endif
f43e5853
RM
65#ifndef CONTROLSOCKET
66# define CONTROLSOCKET RUNDIR "/" PACKAGE ".sock"
67#endif
c3d07f4c 68
cced195e 69#endif