summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1995-06-18 16:08:15 +0000
committerBill Paul <wpaul@FreeBSD.org>1995-06-18 16:08:15 +0000
commit0a6205d8d08496606c47bbec92c7aca4ebeff854 (patch)
treec79bf79bb6e1dc390b8f57b95197e7fd573d75b7 /gnu/usr.sbin
parente77fe975bb835d4eb7921e78f4308d183c5d200b (diff)
Notes
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/ypserv/Makefile.yp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.sbin/ypserv/Makefile.yp b/gnu/usr.sbin/ypserv/Makefile.yp
index adc2143102a4..7645e0e958a1 100644
--- a/gnu/usr.sbin/ypserv/Makefile.yp
+++ b/gnu/usr.sbin/ypserv/Makefile.yp
@@ -26,7 +26,7 @@ NOPUSH = "True"
# passwords in them) to the superuser on other FreeBSD machines, but
# non-FreeBSD clients (e.g. SunOS, Solaris (without NIS+), IRIX, HP-UX,
# etc...) will only work properly in 'unsecure' mode.
-#
+#
#UNSECURE = "True"
# These are commands which this Makefile needs to properly rebuild the
@@ -118,7 +118,7 @@ ethers.byname: $(ETHERS)
$(RM) $@
$(CAT) $(ETHERS) | \
$(AWK) '{ if ($$1 != "" && $$1 != "#" && $$1 != "+") \
- print $$0"\t"$$0 }' $^ | $(DBLOAD) -i $(ETHERS) \
+ print $$2"\t"$$0 }' $^ | $(DBLOAD) -i $(ETHERS) \
-o $(YPMAPDIR)/$@ - $@
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) -i $(ETHERS) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
@@ -129,7 +129,7 @@ ethers.byaddr: $(ETHERS)
$(RM) $@
$(CAT) $(ETHERS) | \
$(AWK) '{ if ($$1 != "" && $$1 != "#" && $$1 != "+") \
- print $$0"\t"$$0 }' $^ | $(DBLOAD) -i $(ETHERS) \
+ print $$1"\t"$$0 }' $^ | $(DBLOAD) -i $(ETHERS) \
-o $(YPMAPDIR)/$@ - $@
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
@@ -140,7 +140,7 @@ bootparams: $(BOOTPARAMS)
$(RM) $@
$(CAT) $(BOOTPARAMS) | \
$(AWK) '{ if ($$1 != "" && $$1 != "#" && $$1 != "+") \
- print $$0"\t"$$0 }' $^ | $(DBLOAD) -i $(BOOTPARAMS) \
+ print $$0 }' $^ | $(DBLOAD) -i $(BOOTPARAMS) \
-o $(YPMAPDIR)/$@ - $@
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
@@ -151,7 +151,7 @@ netgroup: $(NETGROUP)
$(RM) $@
$(CAT) $(NETGROUP) | \
$(AWK) '{ if ($$1 != "" && $$1 != "#" && $$1 != "+") \
- print $$0"\t"$$0 }' $^ | $(DBLOAD) -i $(NETGROUP) \
+ print $$0 }' $^ | $(DBLOAD) -i $(NETGROUP) \
-o $(YPMAPDIR)/$@ - $@
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi