#!/bin/bash echo " Workstations Direct Patch 1 " echo " *************************** " echo " " echo " This program will apply several bug fixes to your system. It will only take a moment. " echo -n " Working ...." echo "#!/bin/bash # A startup script to clean the /tmp directory and lock files at boottime # ASC (c) 2000 . /etc/init.d/functions echo -n \" Clearing Temporary and lock files \" rm -fr /tmp/.X0* && rm -fr /var/run/*pid check ">/etc/init.d/cleanfiles /bin/ln -s /etc/init.d/cleanfiles /etc/rcS.d/S30clean_files 2>/dev/null grep /dev/hda1 /etc/fstab if [ "$?" = "0" ]; then grep -v /dev/hda1 /etc/fstab >/tmp/fstab.tmp echo "/dev/hda1 /mnt/c_drive vfat rw,suid,gid=500,conv=auto,nodev,umask=0002 0 0" >>/tmp/fstab.tmp cp /tmp/fstab.tmp /etc/fstab rm -fr /tmp/fstab.tmp fi echo " Done."