Current Path : /compat/linux/proc/68247/root/compat/linux/proc/68247/root/compat/linux/proc/68247/root/etc/periodic/daily/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/68247/root/compat/linux/proc/68247/root/compat/linux/proc/68247/root/etc/periodic/daily/999.local |
#!/bin/sh # # $FreeBSD: release/9.1.0/etc/periodic/daily/999.local 77592 2001-06-01 16:40:57Z dougb $ # # Run the old /etc/daily.local script. This is really for backwards # compatibility more than anything else. # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/periodic.conf source_periodic_confs fi rc=0 for script in $daily_local do echo '' case "$script" in /*) if [ -f "$script" ] then echo "Running $script:" sh $script || rc=3 else echo "$script: No such file" [ $rc -lt 2 ] && rc=2 fi;; *) echo "$script: Not an absolute path" [ $rc -lt 2 ] && rc=2;; esac done exit $rc