home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / LINK2CD / N1 / MAKETAG < prev    next >
Encoding:
Text File  |  1995-04-20  |  1.9 KB  |  48 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. rm -f /tmp/SeTnewtag # empty the return file
  4. dialog --title "SELECTING PACKAGES FOR SERIES N (NETWORK/NEWS/MAIL/UUCP)" \
  5.        --checklist "Please select the packages you wish to install \
  6. from series N. Use the \
  7. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  8. the packages you wish to install. Recommended packages have \
  9. already been selected for you, but you may unselect them if you wish. \
  10. Press ENTER when you are \
  11. done." 22 70 11 \
  12. "netcfg" "A script to help configure TCP/IP" "on" \
  13. "deliver" "Local mail delivery utility" "off" \
  14. "dip" "Handles SLIP/CSLIP connections" "off" \
  15. "ppp" "Point-to-point protocol" "off" \
  16. "mailx" "The mailx mailer" "on" \
  17. "tcpip" "TCP/IP networking programs" "on" \
  18. "bind" "Berkeley Internet Name Domain server" "on" \
  19. "rdist" "Remote file distribution utility" "off" \
  20. "uucp" "Taylor UUCP 1.05 with HDB && Taylor configs" "off" \
  21. "elm" "Menu-driven user mail program" "off" \
  22. "pine" "Pine menu-driven mail program" "off" \
  23. "sendmail" "The sendmail mail transport agent" "on" \
  24. "smailcfg" "Extra configuration files for sendmail" "off" \
  25. "cnews" "Spools and transmits Usenet news" "off" \
  26. "inn" "InterNetNews news transport system" "off" \
  27. "tin" "The 'tin' news reader (local or NNTP)" "off" \
  28. "trn" "'trn' for /var/spool/news" "off" \
  29. "trn-nntp" "'trn' for NNTP (install 1 'trn' maximum)" "off" \
  30. "nn-spool" "'nn' for /var/spool/news" "off" \
  31. "nn-nntp" "'nn' for NNTP (install 1 'nn' maximum)" "off" \
  32. 2> /tmp/SeTpkgs
  33. if [ $? = 1 -o $? = 255 ]; then
  34.  rm -f /tmp/SeTpkgs
  35.  exit
  36. fi
  37. cat /dev/null > /tmp/SeTnewtag
  38. for PACKAGE in deliver ppp mailx tcpip uucp netcfg \
  39. dip inn elm pine sendmail smailcfg cnews tin \
  40. rdist bind trn trn-nntp nn-nntp nn-spool ; do
  41.  if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
  42.   echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
  43.  else
  44.   echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
  45.  fi
  46. done
  47. rm -f /tmp/SeTpkgs
  48.