home *** CD-ROM | disk | FTP | other *** search
- /* Install NFSCSD files */
-
- /* Check where to install (from SET ETC statement) */
- ENV = 'OS2ENVIRONMENT'
- ETC = VALUE('ETC',,ENV)
- if ETC = '' then
- do
- say ""
- say "WARNING!"
- say "You do NOT have the environment variable ETC defined!"
- say "You should have already installed the OS/2 TCP/IP 1.2.1 refresh"
- say "CSD installation will not continue."
- say ""
- exit 1
- end
-
- BASE=filespec("drive",ETC)||filespec("path",ETC)
- if substr(BASE, length(BASE), 1) = '\' then
- BASE = substr(BASE, 1, length(BASE) - 1)
-
-
- /* REM BIN files */
- attrib BASE'\syslevel.pem -r'
- copy 'A:syslevel.pem' BASE'\syslevel.pem'
- attrib BASE'\syslevel.pem +r'
- copy 'A:types.h' BASE'\include\types.h'
- copy 'A:ioctl.h' BASE'\include\sys\ioctl.h'
- copy 'A:tcpip.lib' BASE'\lib\tcpip.lib'
- copy 'A:tcpipmt.lib' BASE'\lib\tcpipmt.lib'
-
- REM DOC file
- copy 'A:progcsd.doc' BASE'\doc\progcsd.doc'
-