Browse Source

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@
OPENBSD_4_6
schwarze 15 years ago
parent
commit
4cb2031961
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/etc/daily

+ 1
- 3
src/etc/daily View File

@ -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


Loading…
Cancel
Save