File: ypxfr_1perhour.in

package info (click to toggle)
ypserv 4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,184 kB
  • sloc: ansic: 10,161; xml: 1,872; sh: 915; makefile: 263; awk: 21
file content (14 lines) | stat: -rw-r--r-- 273 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
#
# ypxfr_1perhour - Do hourly NIS map check/updates, to see, if we
#                 have missed one update.
#

YPBINDIR=@YPBINDIR@

MAPS_TO_GET="passwd.byname passwd.byuid shadow.byname publickey.byname"

for map in $MAPS_TO_GET
do
  $YPBINDIR/ypxfr $map
done