#!/bin/sh #item ####description ###on off ### TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi cat /dev/null > $TMP/SeTnewtag dialog --title "SELECTING PACKAGES FROM SERIES A (BASE LINUX SYSTEM)" \ --checklist "Please confirm the packages you wish to install \ from series A. Use the UP/DOWN keys to scroll through the list, and \ the SPACE key to deselect any packages don't want installed. You are \ cautioned against unselecting REQUIRED packages. However, it's your \ system. :^) Press ENTER when you are done." 21 76 10 \ "aaa_base" "Basic filesystem, shell, and utils - REQUIRED" "on" \ "aaa_elflibs" "Various ELF libraries -- REQUIRED" "on" \ "acpid" "ACPI Power Management daemon" "on" \ "apmd" "APM Power Management daemon" "on" \ "bash" "GNU bash shell - REQUIRED" "on" \ "bin" "Various system utilities - REQUIRED" "on" \ "bzip2" "bzip2 compression utility" "on" \ "coreutils" "The core GNU command-line utilities - REQUIRED" "on" \ "cpio" "The GNU cpio backup/archiving utility" "on" \ "cxxlibs" "C++ shared libraries - REQUIRED" "on" \ "dbus" "Message bus daemon" "on" \ "dcron" "Cron daemon - REQUIRED" "off" \ "devs" "Device files found in /dev - REQUIRED" "on" \ "dialog" "The program that generates these menus :-)" "on" \ "dosfstools" "Tools for working with FAT filesystems" "on" \ "e2fsprogs" "Utilities for ext2/ext3 filesystems - REQUIRED" "on" \ "efibootmgr" "Tool to modify UEFI boot entries" "on" \ "eject" "A tool for ejecting removable media" "on" \ "elilo" "Linux Loader for EFI-based platforms" "on" \ "etc" "System config files & utilities - REQUIRED" "on" \ "file" "Determines what file format data is in" "on" \ "findutils" "GNU file finding utilities" "on" \ "gawk" "GNU awk pattern scanning language" "on" \ "gettext" "Programs used to internationalize scripts" "on" \ "getty-ps" "Getty_ps serial login support - OPTIONAL" "on" \ "glibc-solibs" "Runtime glibc support libraries" "on" \ "glibc-zoneinfo" "Configures your time zone" "on" \ "gpm" "Cut and paste text with your mouse" "on" \ "gptfdisk" "GPT fdisk utilities" "on" \ "grep" "GNU grep searching tool - REQUIRED" "on" \ "gzip" "GNU zip compression utility - REQUIRED" "on" \ "hdparm" "Get/Set IDE hard drive parameters" "off" \ "infozip" "zip/unzip archive utilities" "on" \ "kbd" "Change keyboard and console mappings" "on" \ "kernel-firmware" "Linux kernel firmware -- REQUIRED" "on" \ "kernel-huge-smp" "Loaded SMP 3.10.17 Linux kernel" "on" \ "kernel-modules-smp" "Linux 3.10.17 SMP kernel modules -- REQUIRED" "on" \ "kmod" "Kernel module utilities -- REQUIRED" "on" \ "less" "A text pager utility - REQUIRED" "on" \ "lha" "LHA archive utility" "on" \ "lilo" "Boot loader for Linux, DOS, OS/2, etc." "on" \ "logrotate" "System log rotation utility" "on" \ "lvm2" "Tools for creating logical volumes" "on" \ "mdadm" "Utilities for managing MD (RAID) devices" "on" \ "ntfs-3g" "FUSE-based NTFS read-write mount program" "on" \ "openssl-solibs" "OpenSSL shared libraries -- REQUIRED" "on" \ "patch" "Applies a diff file to an original file" "off" \ "pciutils" "Linux PCI utilities" "on" \ "pkgtools" "Slackware package management tools - REQUIRED" "on" \ "procps" "Displays process info - REQUIRED" "on" \ "sdparm" "Get/Set SCSI hard drive parameters" "off" \ "sed" "GNU stream editor -- REQUIRED" "on" \ "shadow" "Shadow password suite -- REQUIRED" "on" \ "slocate" "Locates files on the system" "on" \ "sysfsutils" "Utilities for the sysfs filesystem" "on" \ "sysklogd" "Logs system and kernel messages" "on" \ "syslinux" "Loader for making Linux boot floppies" "on" \ "sysvinit" "System V-like INIT programs - REQUIRED" "on" \ "sysvinit-functions" "Init functions used by some third-party apps" "on" \ "sysvinit-scripts" "The startup scripts for Slackware - REQUIRED" "on" \ "tar" "GNU tar archive utility -- REQUIRED" "on" \ "udev" "Manages /dev and modules - REQUIRED" "on" \ "udisks" "storage device daemon" "on" \ "udisks2" "storage device daemon v2" "on" \ "usbutils" "Linux USB utilities" "on" \ "utempter" "Library used for writing to utmp/wtmp" "on" \ "util-linux" "Util-linux utilities - REQUIRED" "on" \ "which" "Locate an executable in your \$PATH" "on" \ "xz" "xz (LZMA) compression utility - REQUIRED" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in \ aaa_base aaa_elflibs acpid apmd bash bin bzip2 coreutils cpio cxxlibs dbus dcron devs dialog dosfstools e2fsprogs efibootmgr eject elilo etc file findutils gawk gettext getty-ps glibc-solibs glibc-zoneinfo gpm gptfdisk grep gzip hdparm infozip kbd kernel-firmware kernel-huge-smp kernel-modules-smp kmod less lha lilo logrotate lvm2 mdadm ntfs-3g openssl-solibs patch pciutils pkgtools procps sdparm sed shadow slocate sysfsutils sysklogd syslinux sysvinit sysvinit-functions sysvinit-scripts tar udev udisks udisks2 usbutils utempter util-linux which xz \ ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ aaa_base aaa_elflibs acpid apmd bash bin bzip2 coreutils cpio cxxlibs dbus dcron devs dialog dosfstools e2fsprogs efibootmgr eject elilo etc file findutils gawk gettext getty-ps glibc-solibs glibc-zoneinfo gpm gptfdisk grep gzip hdparm infozip kbd kernel-firmware kernel-huge-smp kernel-modules-smp kmod less lha lilo logrotate lvm2 mdadm ntfs-3g openssl-solibs patch pciutils pkgtools procps sdparm sed shadow slocate sysfsutils sysklogd syslinux sysvinit sysvinit-functions sysvinit-scripts tar udev udisks udisks2 usbutils utempter util-linux which xz \ ; do if grep "\(^\| \)$PACKAGE\( \|$\)" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PACKAGE: ADD" >> $TMP/SeTnewtag else echo "$PACKAGE: SKP" >> $TMP/SeTnewtag fi done rm -f $TMP/SeTpkgs