diff options
Diffstat (limited to 'scripts/ypxfr_2perday.in')
-rw-r--r-- | scripts/ypxfr_2perday.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/ypxfr_2perday.in b/scripts/ypxfr_2perday.in new file mode 100644 index 0000000..5c24be8 --- /dev/null +++ b/scripts/ypxfr_2perday.in @@ -0,0 +1,15 @@ +#! /bin/sh +# +# ypxfr_2perday - Do twice-daily NIS map check/updates, to see, if we +# have missed one update. +# + +YPBINDIR=@YPBINDIR@ + +MAPS_TO_GET="hosts.byname hosts.byaddr netgroup netgroup.byuser netgroup.byhost" + +for map in $MAPS_TO_GET +do + $YPBINDIR/ypxfr $map +done + |