diff options
author | wpaul <wpaul@FreeBSD.org> | 1997-02-09 19:19:14 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1997-02-09 19:19:14 +0000 |
commit | 8f656b769ac8e8a1df21eaa548ac6fb883bbd878 (patch) | |
tree | 877707f12629411e635ae85d470604154dbe3a9d /usr.sbin/ypserv | |
parent | ca71d718ab76e63a14787f1320c465cba3c42bab (diff) | |
download | FreeBSD-src-8f656b769ac8e8a1df21eaa548ac6fb883bbd878.zip FreeBSD-src-8f656b769ac8e8a1df21eaa548ac6fb883bbd878.tar.gz |
Two small tweaks:
- servers should be the first target listed in 'all:' in order for slave
servers to be updated correctly: yppush reads the ypservers map to figure
out where all the slaves are, so it needs to be loaded onto the master
ASAP.
- Fixed small bogon in publickey target which nobody has noticed since
we're not using the publickey.byname map yet.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r-- | usr.sbin/ypserv/Makefile.yp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/Makefile.yp b/usr.sbin/ypserv/Makefile.yp index b75d23d..b3e855c 100644 --- a/usr.sbin/ypserv/Makefile.yp +++ b/usr.sbin/ypserv/Makefile.yp @@ -128,8 +128,8 @@ target: # on all systems. # -all: master.passwd passwd hosts group networks protocols rpc \ - services servers netid +all: servers master.passwd passwd hosts group networks protocols rpc \ + services netid # aliases publickey netgrp ethers bootparam amd.host ethers: ethers.byname ethers.byaddr @@ -395,7 +395,7 @@ services.byname: $(SERVICES) publickey.byname: $(PUBLICKEY) @echo "Updating $@..." @echo $@.$$$$ > $(NFILE) - $(TMP) = `$(RCAT) $(NFILE)` + $(CAT) $(PUBLICKEY) | \ $(AWK) '$$1 !~ "#" { print $$1"\t"$$2 }' $^ \ | $(DBLOAD) -i $(PUBLICKEY) -o $(YPMAPDIR)/$@ - $(TMP) @$(MV) $(TMP) $@ |