home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
- # Put any local setup commands in here
-
- # umsdos syncing
- #umssync -r6 -v- /dosd/linux/etc -v- /dosd/linux/usr
-
- # insert ftape module
- #/sbin/insmod /boot/modules/ftape.o
-
- # clean up news
- #/bin/su news -c /usr/local/lib/news/bin/maint/newsboot
-
- # startup the sendmail daemon
- if [ -f /usr/sbin/sendmail -a -f /etc/sendmail.cf ]; then
- # remove zero length qf files
- # for qffile in qf*
- # do
- # if [ -r $qffile ]; then
- # if [ ! -s $qffile ]; then
- # echo -n " <zero: $qffile>"
- # rm -f $qffile
- # fi
- # fi
- # done
- # rename tf files to be qf if the qf does not exist
- # for tffile in tf*
- # do
- # qffile=`echo $tffile | sed 's/t/q/'`
- # if [ -r $tffile -a ! -f $qffile ]; then
- # echo -n " <recovering: $tffile>"
- # mv $tffile $qffile
- # else
- # echo -n " <extra: $tffile>"
- # rm -f $tffile
- # fi
- # done
- # remove df files with no corresponding qf files
- # for dffile in df*
- # do
- # qffile=`echo $dffile | sed 's/d/q/'`
- # if [ -r $dffile -a ! -f $qffile ]
- # then
- # echo -n " <incomplete: $dffile>"
- # mv $dffile `echo $dffile | sed 's/d/D/'`
- # fi
- # done
- # announce files that have been saved during disaster recovery
- # for xffile in [A-Z]f*
- # do
- # echo -n " <panic: $xffile>"
- # done
- # echo
- echo 'Daemon: sendmail -bd -q15m'
- /usr/sbin/sendmail -bd -q15m
- fi
-