mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
Install dhclient-script in /etc, not in /
This commit is contained in:
@@ -47,8 +47,8 @@ install: $(PROG) $(CATMANPAGES)
|
|||||||
if [ x$(SCRIPT) = xnone ]; then \
|
if [ x$(SCRIPT) = xnone ]; then \
|
||||||
echo "No client script available."; \
|
echo "No client script available."; \
|
||||||
else \
|
else \
|
||||||
$(INSTALL) scripts/$(SCRIPT) $(ETCDIR)/dhclient-script; \
|
$(INSTALL) scripts/$(SCRIPT) $(ETC)/dhclient-script; \
|
||||||
$(CHMOD) 700 $(ETCDIR)/dhclient-script; \
|
$(CHMOD) 700 $(ETC)/dhclient-script; \
|
||||||
fi
|
fi
|
||||||
if [ ! -d $(ADMMANDIR) ]; then \
|
if [ ! -d $(ADMMANDIR) ]; then \
|
||||||
mkdir $(ADMMANDIR); \
|
mkdir $(ADMMANDIR); \
|
||||||
|
Reference in New Issue
Block a user