Pick a Free OS

User login

Navigation

NIS on Linux

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@ hosts.byaddr: $(HOSTS) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") print $$1"t"$$0 }'

$(HOSTS) | $(DBLOAD) -r $(B) -i $(HOSTS) -o $(YPMAPDIR)/$@ -

$@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


networks.byname: $(NETWORKS) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if($$1 !~ "#" && $$1 != "") { print $$1"t"$$0;

for (n=3; n<=NF && $$n !~ "#"; n++) print $$n"t"$$0


}}' $(NETWORKS) | $(DBLOAD) -r -i $(NETWORKS)

o $(YPMAPDIR)/$@ - $@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


networks.byaddr: $(NETWORKS) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") print $$2"t"$$0}'

$(NETWORKS) | $(DBLOAD) -r -i $(NETWORKS)

o $(YPMAPDIR)/$@ - $@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


protocols.byname: $(PROTOCOLS) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") { print $$1"t"$$0;

for (n=3; n<=NF && $$n !~ "#"; n++)

print $$n"t"$$0}}' $(PROTOCOLS) | $(DBLOAD) -r -i

$(PROTOCOLS) -o $(YPMAPDIR)/$@ - $@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


protocols.bynumber: $(PROTOCOLS) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") print $$2"t"$$0 }'

$(PROTOCOLS) | $(DBLOAD) -r -i $(PROTOCOLS)

o $(YPMAPDIR)/$@ - $@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


rpc.byname: $(RPC) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") { print $$1"t"$$0;

for (n=3; n<=NF && $$n !~ "#"; n++) print $$n"t"$$0

}}' $(RPC) | $(DBLOAD) -r -i $(RPC) -o $(YPMAPDIR)/$@ -

$@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


rpc.bynumber: $(RPC) $(YPDIR)/Makefile

@echo "Updating $@..."

@$(AWK) '{ if ($$1 !~ "#" && $$1 != "") print $$2"t"$$0 }'

$(RPC)

| $(DBLOAD) -r -i $(RPC) -o $(YPMAPDIR)/$@ - $@

@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@


services.byname: $(SERVICES) $(YPDIR)/Makefile

@echo "Updating $@..."