home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / nwnet / install / nwservices < prev    next >
Text File  |  1998-08-19  |  3KB  |  111 lines

  1. #ident    "@(#)nwservices    1.2"
  2. #ident    "$Id: nwservices,v 1.6 1994/07/13 17:44:29 vtag Exp $"
  3.  
  4. if [ ! -f /etc/inet/services ]
  5. then
  6.     echo >/etc/inet/services
  7. fi
  8.  
  9. #
  10. #    Remove all NetWare entries from the services file
  11. #
  12. sed -e '/\/ipx[     ]/d' \
  13.     -e '/\/spx[     ]/d' \
  14.     -e '/\/spx$/d' \
  15.     -e '/\/ipx$/d' /etc/inet/services \
  16.     || exit 2
  17.  
  18. #
  19. #    For installation append NetWare services to file
  20. #
  21. if [ "$1" = install ]
  22. then
  23.  
  24. cat <<!
  25. #    NetWare services for spx/ipx
  26. inetinst    1006/spx            # network install
  27. apfs        36938/spx            #any private file service
  28. apts        38939/spx            #any private terminal service
  29. auth        36940/spx        authentication
  30. bftp        36941/spx 
  31. biff        36914/ipx        comsat
  32. bootpc        36915/ipx 
  33. bootps        36916/ipx        bootp
  34. chargen        36942/spx        ttytst source
  35. chargen        36917/ipx        ttytst source
  36. cmip-agent    36943/spx 
  37. cmip-manage    36944/spx 
  38. courier        36945/spx        rpc        # experimental
  39. csnet-ns    36946/spx                #CSNET Name Service
  40. daytime        36947/spx 
  41. daytime        36918/ipx 
  42. discard        36919/ipx        sink null
  43. discard        36948/spx        sink null
  44. echo        36820/ipx 
  45. echo        36949/spx 
  46. eprc        36821/ipx 
  47. exec        36950/spx 
  48. finger        36951/spx 
  49. ftp        36952/spx 
  50. ftp-data    36953/spx 
  51. hostnames    36954/spx        hostname    # usually to sri-nic
  52. ingreslock    36955/spx 
  53. iso-ip        36956/spx 
  54. iso-tp0        36957/spx 
  55. iso-tsap    36958/spx 
  56. link        36959/spx        ttylink
  57. listen        36960/spx            # sysv listener service
  58. login        32867/spx 
  59. monitor        36822/ipx                # experimental
  60. name        36923/ipx        nameserver
  61. name        36962/spx        nameserver
  62. nameserver    36924/ipx        domain
  63. nameserver    36963/spx        domain
  64. netstat        36925/ipx 
  65. netstat        36964/spx 
  66. new-rwho    36926/ipx        new-who        # experimental
  67. nfsd        36927/ipx            # NFS server daemon
  68. nntp        36965/spx    usenet readnews untp # Network News Transfer
  69. ntp        36928/ipx                # Network Time Protocol
  70. ntp        36966/spx                # Network Time Protocol
  71. pcserver    36967/spx                # ECD Integrated PC board srvr
  72. pop-2        36968/spx                # Post Office
  73. print-srv    36969/spx 
  74. printer        36970/spx        spooler        # line printer spooler
  75. qotd        36929/ipx        quote
  76. qotd        36971/spx        quote
  77. rje        36972/spx        netrjs        #any private rje
  78. rmonitor    36930/ipx        rmonitord    # experimental
  79. route        36931/ipx        router routed
  80. sftp        36973/spx 
  81. shell        36974/spx        cmd        # no passwords used
  82. smtp        36975/spx        mail
  83. snmp        36879/ipx 
  84. snmp-trap    36880/ipx 
  85. sunrpc        36810/spx        rpcbind
  86. sunrpc        36889/ipx        rpcbind
  87. supdup        36976/spx 
  88. syslog        36932/ipx 
  89. systat        36933/ipx        users
  90. systat        36977/spx        users
  91. talk        36934/ipx 
  92. telnet        36978/spx 
  93. tftp        33683/ipx 
  94. time        36935/ipx        timserver
  95. time        36979/spx        timserver
  96. ttymon        36980/spx            # sysv tty service
  97. uucp        36981/spx        uucpd        # uucp daemon
  98. uucp-path    36982/spx 
  99. who        36936/ipx        whod
  100. whois        36937/ipx        nicname        # usually to sri-nic
  101. whois        36983/spx        nicname        # usually to sri-nic
  102. x400        36984/spx                # ISO Mail
  103. x400-snd    36985/spx 
  104. xserver0    32998/spx            # X-Window Server Display 0
  105. unixtsa       37002/spx            # TSA
  106. !
  107.  
  108. fi
  109.  
  110. exit 0
  111.