summaryrefslogtreecommitdiff
path: root/etc/daily
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-05-18 20:07:36 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-05-18 20:07:36 +0000
commit5be219f624190c99e10775364c2361ce4046644b (patch)
tree51a8ed2b40d00da3044275f26794195497d58fa8 /etc/daily
parentba2b6e51ff87c4c8dc0b47b299ffa6c088debcb3 (diff)
handle PATH in the same way as in monthly(8) and weekly(8),
i.e. rely on the PATH set up in the root crontab(5) in case /usr/local/bin is needed, daily.local is a logical place to append it suggested by ajacoutot@; "i like this" okan@; feedback jmc@ deraadt@; "i don't strongly object" sthen@
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/daily b/etc/daily
index 3d7e8784514..4cc1436bc1e 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,11 +1,9 @@
#
-# $OpenBSD: daily,v 1.61 2009/05/17 00:25:34 schwarze Exp $
+# $OpenBSD: daily,v 1.62 2009/05/18 20:07:35 schwarze Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
umask 022
-PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
-
PARTOUT=/var/log/daily.part
MAINOUT=/var/log/daily.out
install -o 0 -g 0 -m 600 /dev/null $PARTOUT