# This will empty the /tmp folder when you shutdown or
# reboot the machine
# Add this line to /etc/rc.d/rc.6
echo "Emptying /tmp"
rm /tmp/* -rf &1>2 > /dev/null
The /dev/null part gets rid of any output/error codes.
I placed it between the following sections in /etc/rc.d/rc.6
# Save the system time to the hardware clock using hwclock --systohc.
if [ -x /sbin/hwclock ]; then
# Check...