mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
Install client script
This commit is contained in:
@@ -197,6 +197,12 @@ all: $(PROG) $(CATMANPAGES)
|
|||||||
|
|
||||||
install: $(PROG) $(CATMANPAGES)
|
install: $(PROG) $(CATMANPAGES)
|
||||||
$(INSTALL) dhclient $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhclient
|
$(INSTALL) dhclient $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhclient
|
||||||
|
if [ x$(SCRIPT) = xnone ]; then \
|
||||||
|
echo "No client script available." \
|
||||||
|
else \
|
||||||
|
$(INSTALL) scripts/$(SCRIPT) $(ETCDIR)/dhclient-script \
|
||||||
|
$(CHMOD) 700 $(ETCDIR)/dhclient-script \
|
||||||
|
fi
|
||||||
if [ ! -d $(ADMMANDIR) ]; then \
|
if [ ! -d $(ADMMANDIR) ]; then \
|
||||||
mkdir $(ADMMANDIR); \
|
mkdir $(ADMMANDIR); \
|
||||||
chmod 755 $(ADMMANDIR); \
|
chmod 755 $(ADMMANDIR); \
|
||||||
|
Reference in New Issue
Block a user