home *** CD-ROM | disk | FTP | other *** search
Wrap
; ; AmiTALK Installation Script $VER:AmiTALK V1.55 (06.06.95) ; (set oldUserLevel (user 3)) (message "\nWelcome to the AmiTALK 1.55 installer script.\n\n" "Follow the installer script's instructions to install AmiTALK on your " "system." ) (user oldUserLevel) (set network (askchoice (prompt "Which version of AmiTALK would you like to have installed?") (choices "AmiTCP" "AS225") (help "Select AmiTCP for the AmiTCP version and AS225 for the AS225 version."))) (if network ( (rename "as225-talk" "talk") (copyfiles (prompt ("Copying talk to inet:c")) (help @copyfiles-help) (source "talk") (dest "inet:c"))) ( (rename "amitcp-talk" "talk") (copyfiles (prompt ("Copying talk to amitcp:bin")) (help @copyfiles-help) (source "talk") (dest "amitcp:bin")))) (if network ( (rename "as225-talkd" "talkd") (copyfiles (prompt ("Copying talkd to inet:serv")) (help @copyfiles-help) (source "talkd") (dest "inet:serv"))) ( (rename "amitcp-talkd" "talkd") (copyfiles (prompt ("Copying talkd to amitcp:serv")) (help @copyfiles-help) (source "talkd") (dest "amitcp:serv")))) ((select (askchoice (prompt "Which method of incoming notification would you like?") (choices "RexxReqTools" "KS 3.0+ notification" "CNet") (help "For the RexxReqTools version, you must install RexxReqTools." "The KS 3.0+ version requires Kickstart 3.0 or greater." "CNet is to notify users currently online CNet that they have" "an incoming talk request. Use CNet only if you are a CNET" "sysop.")) (set @notify-choice "reqtools.talkrequest.rexx") (set @notify-choice "30.talkrequest.rexx") (set @notify-choice "cnet.talkrequest.rexx"))) (if network (set @dest-dir "inet:c/") (set @dest-dir "amitcp:bin/")) (copyfiles (prompt ("Copying %s to %s" @notify-choice @dest-dir)) (help @copyfiles-help) (source @notify-choice) (dest @dest-dir)) (rename (tackon @dest-dir @notify-choice) (tackon @dest-dir "talkrequest.rexx")) (delete (tackon @dest-dir @notify-choice)) (if network (run ("protect inet:c/talkrequest.rexx +s")) (run ("protect amitcp:bin/talkrequest.rexx +s"))) (if (askbool (prompt "Would you like the proper line to be added to inetd.conf?") (help "For AmiTALK to work properly, a line must be added to inetd.conf." " If you have ever installed AmiTALK before, there is no need to repeat " "this step. If this is your first time installing AmiTALK, please let " "the installer add this line." "Also let the installer add this line if you do not have a line starting" "with 'ntalk' in your inetd.conf") (default 1)) (if network ( (rename "inet:db/inetd.conf" "inet:db/inetd.conf.backup") (run ("join inet:db/inetd.conf.backup as225-inetd.addme to inet:db/inetd.conf"))) ( (rename "amitcp:db/inetd.conf" "amitcp:db/inetd.conf.backup") (run ("join amitcp:db/inetd.conf.backup amitcp-inetd.addme to amitcp:db/inetd.conf"))))) (set oldUserLevel (user 3)) (message ("\nAmiTALK is now installed. Please reboot before attempting to use it.\n\nIf you have any questions, feel free to contact me via e-mail at:\n\ngunnbr@cs.rose-hulman.edu") ) (user oldUserLevel) (exit (quiet))