3 # $FreeBSD: src/etc/periodic/weekly/340.noid,v 1.2.2.4 2002/04/15 00:44:17 dougb Exp $
4 # $DragonFly: src/etc/periodic/weekly/340.noid,v 1.2 2003/06/17 04:24:48 dillon Exp $
7 # If there is a global system configuration file, suck it in.
9 if [ -r /etc
/defaults
/periodic.conf
]
11 .
/etc
/defaults
/periodic.conf
15 case "$weekly_noid_enable" in
18 echo "Check for files with an unknown user or group:"
20 rc
=$
(find -H ${weekly_noid_dirs:-/} \
21 \
( ! -fstype local -prune -or -name \
* \
) -and \
22 \
( -nogroup -o -nouser \
) -print |
sed 's/^/ /' |
23 tee /dev
/stderr |
wc -l)