summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/dhclient
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-17 15:31:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-17 15:31:17 +0000
commit1f2ed35b51750924337eadff422050da04c01236 (patch)
treecebe6ade1624227457b0249cd49f065c65de4e38 /usr.sbin/dhcp/dhclient
parent1356a45af205ff3fd62ba46310ba17cb4c8c7670 (diff)
dhclient-script should be in sbin
Diffstat (limited to 'usr.sbin/dhcp/dhclient')
-rw-r--r--usr.sbin/dhcp/dhclient/clparse.c4
-rw-r--r--usr.sbin/dhcp/dhclient/dhclient.conf2
-rw-r--r--usr.sbin/dhcp/dhclient/dhclient.conf.52
-rw-r--r--usr.sbin/dhcp/dhclient/scripts/Makefile2
4 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/dhcp/dhclient/clparse.c b/usr.sbin/dhcp/dhclient/clparse.c
index 2d1e689ae80..ed0dbd7f9cc 100644
--- a/usr.sbin/dhcp/dhclient/clparse.c
+++ b/usr.sbin/dhcp/dhclient/clparse.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: clparse.c,v 1.2 1998/09/17 13:21:41 deraadt Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
+"$Id: clparse.c,v 1.3 1998/09/17 15:31:15 deraadt Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -84,7 +84,7 @@ int read_client_conf ()
top_level_config.backoff_cutoff = 120;
top_level_config.initial_interval = 10;
top_level_config.bootp_policy = ACCEPT;
- top_level_config.script_name = "/usr/bin/dhclient-script";
+ top_level_config.script_name = "/sbin/dhclient-script";
top_level_config.requested_options
[top_level_config.requested_option_count++] =
DHO_SUBNET_MASK;
diff --git a/usr.sbin/dhcp/dhclient/dhclient.conf b/usr.sbin/dhcp/dhclient/dhclient.conf
index 7927dbbcbee..bb7b8f7f988 100644
--- a/usr.sbin/dhcp/dhclient/dhclient.conf
+++ b/usr.sbin/dhcp/dhclient/dhclient.conf
@@ -11,7 +11,7 @@ retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
-script "/usr/bin/dhclient-script";
+script "/sbin/dhclient-script";
media "-link0 -link1 -link2", "link0 link1";
reject 192.33.137.209;
diff --git a/usr.sbin/dhcp/dhclient/dhclient.conf.5 b/usr.sbin/dhcp/dhclient/dhclient.conf.5
index e21735d1cd2..062a402ab34 100644
--- a/usr.sbin/dhcp/dhclient/dhclient.conf.5
+++ b/usr.sbin/dhcp/dhclient/dhclient.conf.5
@@ -518,7 +518,7 @@ interface "ep0" {
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name;
require subnet-mask, domain-name-servers;
- script "/usr/bin/dhclient-script";
+ script "/sbin/dhclient-script";
media "media 10baseT/UTP", "media 10base2/BNC";
}
diff --git a/usr.sbin/dhcp/dhclient/scripts/Makefile b/usr.sbin/dhcp/dhclient/scripts/Makefile
index ee77ab88415..8aa7e33054b 100644
--- a/usr.sbin/dhcp/dhclient/scripts/Makefile
+++ b/usr.sbin/dhcp/dhclient/scripts/Makefile
@@ -34,6 +34,6 @@ NOMAN=
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/dhclient-script ${DESTDIR}/usr/bin/dhclient-script
+ ${.CURDIR}/dhclient-script ${DESTDIR}/sbin/dhclient-script
.include <bsd.prog.mk>