# ProLine 2.0 Updater Script # Requires ProLine 2.0 to be installed before running # (C)opyright 1992 Morgan Davis Group clear banner "ProLine 2.0" "Updater" echo "This script deletes obsolete files and shuffles things around." echo "You should have already made a backup of your system. It is" echo "a good idea to have a backup copy in case you need to refer" echo "to older files or programs. DO NOT CONTINUE WITHOUT A BACKUP!" echo -n "^MTo continue, type "GO" in caps (anything else cancels): " read a if $a != "GO" then exit alias kill if -f !\^ then rm !\^ alias killdir if -f !\^ then rmdir -p !\^ echo "Cleaning up $/etc..." killdir $/etc/termcap kill $/etc/config kill $/etc/help/msg kill $/etc/help/snd kill $/etc/help/learn.cs if -f $/etc/mcinfo then mv $/etc/mcinfo $/etc/rsrc/mcinews.rsrc echo "etc/mcinews" >>$/etc/rsrc/mcinews.rsrc endif if -f $/etc/defconf then mv $/etc/defconf $/etc/default/csdata if -f $/etc/defsig then mv $/etc/defsig $/etc/default/signature if -f $/etc/deflogin then mv $/etc/deflogin $/etc/default/login if -f $/etc/adduser.msg then mv $/etc/adduser.msg $/etc/default/mail echo "Removing $/ovl..." killdir $/ovl kill $/bin/bsh kill $/bin/dial kill $/bin/chmod kill $/bin/chtyp kill $/bin/fsort kill $/bin/sched kill $/bin/play kill $/bin/cspost kill $/bin/sendfile kill $/bin/rmail kill $/bin/raft kill $/bin/lc kill $/bin/unixfix kill $/bin/makewhatis kill $/bin/usage echo "Removing $/sys/man.old..." killdir $/sys/man.old echo "Verifying directory permissions..." setfile -at 8 $/bin $/sys/bin $/games setfile -at 1 $/etc/help $/pub $/pub/proline echo -n "^MPress RETURN " read a clear echo "The ProLine 2.0 Update is complete. Note, however, that you may want to do" echo "some manual editing of files on your system. Although the old $/sys/games" echo "directory is left intact, the new official location of this directory is" echo "$/games. This is important to note, because commands like 'fortune' and" echo "'today' are now located in $/games. Unless your login script sets the" echo "new C-Shell execution \$path variable to include $/games, using commands" echo "like fortune and today in your login script will fail." echo -n "^MPress RETURN " read a echo echo "In addition, the mnews command is now called mcinews and has a resource file" echo "now. This script attempts to copy your old mcinfo file to the new resource" echo "file to keep things running okay. However, you should read the mcinews" echo "manual to find out how to use it to poll MCI and other important notes." echo -n "^MPress RETURN " read a echo echo "There is no HISTORY.92 file with this update, simply because the entire" echo "system is written from scratch, pretty much. Your documentation of the" echo "changes is in the big, fat ProLine 2.0 3-ring binder. You'll want to" echo "spend some time looking it over closely. Some changes are quite obvious," echo "but other little niceties are subtle." echo -n "^MPress RETURN " read a echo echo "You find that the new C-Shell is far and away more powerful than the older" echo "version. It is imperative that you learn about the new changes, especially" echo "with the IF-THEN commands, as your older shell scripts may no longer be" echo "compatible and might require updating. Don't forget to edit the new default" echo "login shell script. You'll find it in $/etc/default/login". echo -n "^MPress RETURN " read a echo echo "Finally, the information that adduser uses to determine a new account's" echo "grace period, charge, time allotment, etc., is now kept in a resource file" echo "You'll want to read the adduser manual and edit $/etc/rsrc/adduser.rsrc" echo "as needed." echo -n "^MPress RETURN " read a clear banner "Thank you!" echo "...for continuing to support us by upgrading to ProLine 2.0. Remember" echo "when you first set up your system and were either totally amazed at its" echo "power and features? You may also have been overwhelmed by the amount" echo "of things you needed to learn and set up. With ProLine 2.0, though," echo "you'll feel that same excitement of having a new and powerful piece of" echo "software, but since you're familiar with it now, I hope your transition" echo "between ProLine 1.8 and 2.0 will be smooth, pleasant, and fun." echo echo "Enough already! If you're networked, you'll want to read the new poll" echo "and mdss manuals to begin using 4K XMODEM in your file transfers!" echo "So, get to it!" echo echo "--Morgan" echo