home *** CD-ROM | disk | FTP | other *** search
/ Freelog 2 / Freelog002.iso / slakware / a1 / maketag.ez < prev    next >
Text File  |  1999-02-08  |  2KB  |  61 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. TMP=/var/log/setup/tmp
  4. if [ ! -d $TMP ]; then
  5.   mkdir -p $TMP
  6. fi
  7. cat /dev/null > $TMP/SeTnewtag
  8. dialog --title "SELECTING SOFTWARE FROM SERIES A (BASE LINUX SYSTEM)" \
  9.        --checklist "Please select the optional components you wish to install \
  10. from series A. Use the \
  11. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  12. the items you wish to install. \
  13. (NOTE: The more important system packages are not listed here and will be installed \
  14. automatically) \
  15. Press ENTER when you are \
  16. done." 20 72 9 \
  17. "ide"  "Linux 2.0.35 no SCSI (YOU NEED 1 KERNEL)" "on" \
  18. "scsi"  "Linux 2.0.35 with SCSI (YOU NEED 1 KERNEL)" "on" \
  19. "bsdlpr" "BSD lpr - printer spooling system" "on" \
  20. "loadlin" "Boots Linux (UMSDOS too!) from MS-DOS" "on" \
  21. "ibcs2" "Runs SCO/SysVr4 binaries" "off" \
  22. "pcmcia" "PCMCIA card services support" "on" \
  23. "pnp" "Plug'n'Play configuration tool" "on" \
  24. "getty" "Getty_ps 2.0.7j - OPTIONAL" "off" \
  25. "joystick" "Joystick support - OPTIONAL" "on" \
  26. "aoutlibs" "a.out shared libraries - RECOMMENDED" "on" \
  27. "minicom" "Serial transfer and modem comm package" "on" \
  28. "cpio" "The GNU cpio backup/archiving utility" "on" \
  29. "kbd" "Change keyboard mappings and console fonts" "on" \
  30. "gpm" "Cut and paste text with your mouse" "on" \
  31. "zoneinfo" "Configures your time zone" "on" \
  32. 2> $TMP/SeTpkgs
  33. if [ $? = 1 -o $? = 255 ]; then
  34.  rm -f $TMP/SeTpkgs
  35.  > $TMP/SeTnewtag
  36.  for pkg in aaa_base aoutlibs bash cpio devs etc grep bin gzip e2fsbn elflibs \
  37.   find getty gpm hdsetup ibcs2 ide kbd less ldso lilo loadlin bsdlpr pnp \
  38.   umsprogs minicom modules procps sysklogd pcmcia \
  39.   scsi sh_utils sysvinit scsimods fileutls glibc1 glibc2 \
  40.   shadow tar tcsh txtutils util zoneinfo bzip2 joystick modutils ; do
  41.   echo "$pkg: SKP" >> $TMP/SeTnewtag
  42.  done
  43.  exit
  44. fi
  45. cat /dev/null > $TMP/SeTnewtag
  46. for PACKAGE in aaa_base bash devs etc shadow hdsetup lilo umsprogs sysvinit \
  47. bin ldso less gzip procps elflibs util e2fsbn bsdlpr \
  48. find grep sh_utils sysklogd fileutls glibc1 glibc2 \
  49. modules scsimods tar txtutils tcsh bzip2 modutils ; do
  50.   echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
  51. done
  52. for PACKAGE in ide scsi getty aoutlibs minicom cpio kbd \
  53. pnp gpm zoneinfo ibcs2 loadlin pcmcia joystick ; do
  54.  if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
  55.   echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
  56.  else
  57.   echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
  58.  fi
  59. done
  60. rm -f $TMP/SeTpkgs
  61.