;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
;
;   *-*-*   RMXINSTL.CSD   *-*-*
;
;   This Submit file, which should be executed only by the system manager
;   (ID = 0), installs the DOS/RMX software on your iRMX drive.
;
;   Invocation:  submit :config:rmxinstl(:logical name:)
;
;        Where:    logical name is the iRMX logical name of the
;                  drive on which you wish to install the
;                  DOS/RMX software.
;
;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
;
; Saving some of your existing configuration files .....
; If they don't exist, you will see error messages.
; Ignore these error messages.
;
rename %0rmx386/config/terminals over %0rmx386/config/terminals.old
rename %0rmx386/config/udf over %0rmx386/config/udf.old
rename %0rmx386/config/cdf over %0rmx386/config/cdf.old
rename %0rmx386/config/r'?'init over %0rmx386/config/r'?'init.old
rename %0user/super/prog/alias.csd over %0user/super/prog/alias.csd.old
rename %0user/super/prog/r'?'logon over %0user/super/prog/r'?'logon.old
rename %0user/super/prog/r'?'logoff over %0user/super/prog/r'?'logoff.old
rename %0user/world/prog/r'?'logon over %0user/world/prog/r'?'logon.old
rename %0user/world/prog/r'?'logoff over %0user/world/prog/r'?'logoff.old
rename %0user/world/prog/alias.csd over %0user/world/prog/alias.csd.old
;
; Copying the iRMX III files from your system device (DOS partition) .....
;
copydir :SD:sys386 over %0sys386
copydir :SD:util386 over %0util386
copydir :SD:util286 over %0util286
copydir :SD:lang286 over %0lang286
copydir :SD:rmx386 over %0rmx386
deletedir %0rmx386/manuals
copydir :SD:user over %0user
copydir :SD:net over %0net
crdir %0work     
;
rename %0SYS386/ACCOUNTI over %0SYS386/accounting
rename %0SYS386/DISCONNE over %0SYS386/disconnect
rename %0SYS386/DELETEDI over %0SYS386/deletedir
rename %0SYS386/DISKVERI over %0SYS386/diskverify
rename %0SYS386/RETENSIO over %0SYS386/retension
rename %0SYS386/jobdelet over %0SYS386/jobdelete
rename %0SYS386/INITSTAT over %0SYS386/initstatus
rename %0util286/devicein over %0util286/deviceinfo
rename %0util286/devicein.hlp over %0util286/deviceinfo.hlp
rename %0util286/translat over %0util286/translate
rename %0util286/translat.hlp over %0util286/translate.hlp
;
rename %0util286/deletena over %0util286/deletename
rename %0util286/unloadna over %0util286/unloadname
rename %0util286/publicdi over %0util286/publicdir
;
rename %0SYS386/ATTACHDE over %0SYS386/attachdevice
rename %0SYS386/ATTACHFI over %0SYS386/attachfile
rename %0SYS386/CREATEDI over %0SYS386/createdir
rename %0SYS386/DETACHDE over %0SYS386/detachdevice
rename %0SYS386/DETACHFI over %0SYS386/detachfile
rename %0SYS386/LOGICALN over %0SYS386/logicalnames
rename %0UTIL386/RESTARTD over %0UTIL386/restartdos
rename %0RMX386/CONFIG/TERMINAL over %0RMX386/CONFIG/terminals
rename %0RMX386/CONFIG/default/terminAL over %0RMX386/CONFIG/default/terminals
;
traverse %0sys386 case *
traverse %0util386 case *
traverse %0util286 case *
traverse %0lang286 case *
traverse %0rmx386 case *
traverse %0user case *
traverse %0net case *
;
permit %0sys386,                       &
       %0sys386/*,                     &
       %0util386,                      &
       %0util386/*,                    &
       %0util286,                      &
       %0util286/*,                    &
       %0lang286,                      &
       %0lang286/*,                    &
       %0rmx386,                       &
       %0rmx386/*,                     &
       %0rmx386/inc/*,                 &
       %0rmx386/inc16/*,               &
       %0rmx386/lib/*,                 &
       %0rmx386/config/*,              &
       %0rmx386/config/user/*,         &
       %0rmx386/config/default/*,      &
       %0rmx386/drivers/*,             &
       %0rmx386/ios/*,                 &
       %0user,                         &
       %0user/world,                   &
       %0net,                          &
       %0net/*                         r u=world
;
traverse %0rmx386/demo permit * r u=world

permit %0user/world/*,                 &
       %0user/world/prog/*,            &
       %0user/world/prog/r'?'logon,    &
       %0user/world/prog/r'?'logoff    drau u=world
;
;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
;
; Installation of DOS/RMX on your iRMX drive is now complete.
;
; If you wish to use this drive as your system device (:SD:), specify the 
; name of this drive with the -s switch when you invoke LOADRMX from DOS.
;
;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
