--- /etc/sysconfig/cron.orig	2003-01-25 12:37:09.000000000 +1300
+++ /etc/sysconfig/cron	2003-01-25 12:38:47.000000000 +1300
@@ -35,5 +35,8 @@
 # from the temporary directories defined in TMP_DIRS_TO_CLEAR on bootup.
 # Please note, that this feature ignores OWNER_TO_KEEP_IN_TMP - all files will
 # be removed without exception."
+# VK 25 Jan 03:
+# If this is set to a list of directories (i.e. starts with a "/"), these
+# directories will be cleared instead of those listed in TMP_DIRS_TO_CLEAR.
 #
 CLEAR_TMP_DIRS_AT_BOOTUP="no"
--- /etc/init.d/boot.localnet.orig	2002-08-22 04:05:10.000000000 +1200
+++ /etc/init.d/boot.localnet	2003-01-25 12:27:53.000000000 +1300
@@ -78,9 +78,18 @@
 	    echo -e "$rc_done_up"
 	fi
 	
+	# delete temp files
+	# If $CLEAR_TMP_DIRS_AT_BOOTUP = yes, delete files in
+	# $TMP_DIRS_TO_CLEAR, if $CLEAR_TMP_DIRS_AT_BOOTUP starts with a "/"
+	# delete files in those dirs instead.
+	CLEAR_DIRS="$TMP_DIRS_TO_CLEAR"
+	if [ "${CLEAR_TMP_DIRS_AT_BOOTUP:0:1}" = "/" ]; then
+	  CLEAR_DIRS="$CLEAR_TMP_DIRS_AT_BOOTUP"
+	  CLEAR_TMP_DIRS_AT_BOOTUP=yes
+	fi
 	if test "$CLEAR_TMP_DIRS_AT_BOOTUP" = yes; then
-	  echo -n "Cleaning temporary directories $TMP_DIRS_TO_CLEAR"
-	  for CURDIR in $TMP_DIRS_TO_CLEAR ; do
+	  echo -n "Cleaning temporary directories $CLEAR_DIRS"
+	  for CURDIR in $CLEAR_DIRS ; do
 	    find $CURDIR -printf '%P\0' | ( cd $CURDIR ; xargs -0 rm -rf )
 	  done
 	  for CURDIR in /tmp /tmp/.X11-unix /tmp/.ICE-unix \
