Xref: utzoo unix-pc.general:1180 comp.sys.att:3884 Path: utzoo!utgpu!water!watmath!uunet!hodge!rusty From: rusty@hodge.UUCP (Rusty Hodge) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Unixpc DWB and UA stuff Summary: It works on my machine! Message-ID: <1107@hodge.UUCP> Date: 31 Jul 88 02:55:42 GMT References: <6270@umn-cs.cs.umn.edu> <683@hodge.UUCP> <656@sunspot.UUCP> <546@proxftl.UUCP> Organization: Hodge Computer Research Corp., Orange, CA Lines: 191 In article <546@proxftl.UUCP>, aaron@proxftl.UUCP (Aaron Zimmerman) writes: > In article <933@hodge.UUCP>, rusty@hodge.UUCP (Rusty Hodge) writes: > > > > Here is what I have done to my /etc/rc file. I keep a copy of the > > original for just incase AT&T sends me a update :-> My /etc/rc file goes here > > Well, his rc looked better than the one I had running, so I replaced the old > with his (actually I still have the old as rc.old, but it doesn't matter > because): > > My system won't boot now. > > Will someone please tell me what I can do so that it will boot? (I bought my Try booting from the floppy.... > > I hope this was of some educational value. > > Yeah, I learned the hard way not to trust software off the net. WELL, EXCUSE MEEEEE! - Steve Martin The only thing that I can imaging happening is that I edited out some stupid comments. Maybe I induced a typo. Here is my ORIGINAL, unedited, with very silly comments in a few places and some my-system specific things that you can figure out what to remove: if [ -z "$1" ] then cd /etc/lddrv ./mkifile /unix unix.syma cmp -s unix.sym unix.syma if [ $? != 0 ] then mv unix.syma unix.sym rm -f wind fi sync > /etc/drvtab sync if [ ! "`grep wdinit unix.sym`" ] then ./lddrv -av wind > /tmp/.winload 2>/tmp/.winload || ( echo Window driver did not load because: > /dev/console cat /tmp/.winload > /dev/console exec /bin/sh < /dev/console > /dev/console 2>&1 ) fi exec /bin/sh /etc/rc WINDOWED < /dev/window > /dev/w1 2>&1 fi trap "" 2 rm -f /etc/.extra /etc/.fontload echo "The 3B1 is coming up. Please wait..." mpid=$! TZ=`cat /etc/TZ`;export TZ date date - DATE=`date '+%a %h %d, 19%y %r' ` echo $DATE echo TZ=$TZ PATH=:/bin:/usr/bin:/etc TERM=s4 export PATH TERM stty sane # PERFORM THE FILE SYSTEM CHECKS WITH AUTO-REBOOT IF SYSTEM WAS REPAIRED echo "Performing fsck..." if [ ! -f /etc/LCK.fsck ] then echo "Running first-time automatic fsck -p." touch /etc/LCK.fsck /etc/fsck -p echo "Automatic fsck -p finished." fi rm -f /etc/LCK.fsck if [ -f /etc/FSCK-FORCE ] then echo "Forced fsck being attempted. THIS IS INTERACTIVE." echo "PAY ATTENTION STUPID. THIS IS SERIOUS. YOU COULD DIE." rm -f /etc/FSCK-FORCE /etc/fsck echo "Forced fsck finished. You can go back to sleep now." fi cat /usr/adm/drv.log >> /etc/old.drv.log rm -f /usr/adm/drv.log if [ -x /etc/.drvload ] then echo "Loading drivers..." kill $mpid > /dev/null 2>&1 mpid=$! /etc/.drvload fi if [ -s /etc/.version ] then setuname -v `cat /etc/.version` fi # was fi[ cat > /etc/.extra < /dev/null 2>&1 & fi done fi # If a screen time out has been selected, then set it. if [ -s /etc/.blanktime ] then scrset `cat /etc/.blanktime` fi # Clean up pnet files rm -f /usr/spool/uucp/LCK.* /usr/lib/pnet/pnet.who rm -f /usr/lib/pnet/talk/talk?.who /usr/lib/pnet/talk/talk.* rm -f /usr/spool/uucp/STST* # Kill last window kill $mpid -- Rusty Hodge, HCR Inc, 1588 N. Batavia St. Orange, CA 92667 (714) 974-6300 rusty@hodge.cts.com [uunet vdelta crash]!hodge!rusty FAX (714) 921-8038