Pre-2.0 release, MFC some driver fixes related to interrupt management.
[dragonfly.git] / etc / periodic / monthly / 999.local
blobec1f0165ab7c12940eb9242eeed4edd2b1038e66
1 #!/bin/sh -
3 # $FreeBSD: src/etc/periodic/monthly/999.local,v 1.2.2.3 2001/08/01 20:38:39 obrien Exp $
4 # $DragonFly: src/etc/periodic/monthly/999.local,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 rc=0
16 for script in $monthly_local
18 echo ''
19 case "$script" in
20 /*)
21 if [ -f "$script" ]
22 then
23 echo "Running $script:"
25 sh $script || rc=3
26 else
27 echo "$script: No such file"
28 [ $rc -lt 2 ] && rc=2
29 fi;;
31 echo "$script: Not an absolute path"
32 [ $rc -lt 2 ] && rc=2;;
33 esac
34 done
36 exit $rc