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

  1. #ident    "@(#)nwnetconfig    1.2"
  2. #ident    "$Id: nwnetconfig,v 1.7 1995/05/05 16:32:28 vtag Exp $"
  3.  
  4. if [ ! -f /etc/netconfig ]
  5. then
  6.     echo >/etc/netconfig
  7. fi
  8. #
  9. #    Remove NetWare stuff from netconfig file
  10. #
  11. sed -e "/^ipx[     ]/d" \
  12.     -e "/^spx[     ]/d" \
  13.     -e "/spx\/ipx/d" /etc/netconfig \
  14.     || exit 2
  15.  
  16.  
  17. if [ "$1" = install ]
  18. then
  19.   echo "#    spx/ipx Network configuration entries"
  20.   echo "spx tpi_cots_ord v netware spx /dev/nspx2 /usr/lib/novell_nwnet.so" || exit 2
  21.   echo "ipx tpi_clts     v netware ipx /dev/ipx   /usr/lib/novell_nwnet.so" || exit 2
  22. fi
  23.  
  24. exit 0
  25.