mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix typo in last commit, it seems that a hash comments out a \ at the end
of line. Also, fix existing bug in ethers.byname, it was passing an unknown option to yppush. This appears to have been a cut/paste slip intended for a $(DBLOAD) command above it.
This commit is contained in:
parent
fe1624a4ff
commit
a6dbeb65a1
1 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Makefile for the NIS databases
|
||||
#
|
||||
# $Id: Makefile.yp,v 1.8 1996/07/18 23:48:13 adam Exp $
|
||||
# $Id: Makefile.yp,v 1.9 1996/07/24 10:48:07 peter Exp $
|
||||
#
|
||||
# This Makefile should only be run on the NIS master server of a domain.
|
||||
# All updated maps will be pushed to all NIS slave servers listed in the
|
||||
|
|
@ -118,8 +118,8 @@ target:
|
|||
#
|
||||
|
||||
all: master.passwd passwd hosts group networks protocols rpc \
|
||||
services servers netid # aliases publickey netgrp ethers bootparam \
|
||||
amd.host
|
||||
services servers netid
|
||||
# aliases publickey netgrp ethers bootparam amd.host
|
||||
|
||||
ethers: ethers.byname ethers.byaddr
|
||||
bootparam: bootparams
|
||||
|
|
@ -185,7 +185,7 @@ ethers.byname: $(ETHERS)
|
|||
-o $(YPMAPDIR)/$@ - $(TMP)
|
||||
@$(MV) $(TMP) $@
|
||||
@$(DBLOAD) -c
|
||||
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) -i $(ETHERS) $@; fi
|
||||
@if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi
|
||||
@if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue