- Set TMPDIR and TEMP to "/tmp". Some programs (Samba, cvs) will fail beacuse
of lack of access permissions to "/root/tmp" or lack of this directory if
these variables are inherited from root's environment.
svn-id: @807
# functions This file contains functions to be used by most or all
# shell scripts in the /etc/init.d directory.
#
-# $Id: functions,v 1.57 2000/09/19 12:46:45 saq Exp $
+# $Id: functions,v 1.58 2000/10/22 19:30:18 mkochano Exp $
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Hacked by: Greg Galloway and Marc Ewing
# First set up a default search path.
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
+# Make environment saner.
+unset HOME
+TMPDIR=/tmp
+TEMP=/tmp
+
# Set defaults
INIT_COL=67