From 003b2d88f49d39a68d0ce734c8051938590e8dcf Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sat, 22 Feb 1997 14:36:20 +0000 Subject: [PATCH] Install client script --- client/Makefile.dist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/Makefile.dist b/client/Makefile.dist index 459ea12b..3a15dfed 100644 --- a/client/Makefile.dist +++ b/client/Makefile.dist @@ -197,6 +197,12 @@ all: $(PROG) $(CATMANPAGES) install: $(PROG) $(CATMANPAGES) $(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 \ mkdir $(ADMMANDIR); \ chmod 755 $(ADMMANDIR); \