Pre-2.0 release, MFC some driver fixes related to interrupt management.
[dragonfly.git] / etc / periodic / weekly / 340.noid
blob305e668f34a6a660eef687906ce081dc9b26cefe
1 #!/bin/sh -
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 ]
10 then
11 . /etc/defaults/periodic.conf
12 source_periodic_confs
15 case "$weekly_noid_enable" in
16 [Yy][Ee][Ss])
17 echo ""
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)
24 [ $rc -gt 1 ] && rc=1
27 *) rc=0;;
28 esac
30 exit $rc