1 # -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
3 HELPERS="$HELPERS sys:general_hardware_and_system_info"
6 require_packages hwinfo
7 checkBox "new sys action" "check options" \
8 "packages" "list of all installed packages." on \
9 "partitions" "the partition table of all disks." on \
10 "hardware" "detailed hardware information" on
13 packages="packages = no"
14 partitions="partitions = no"
15 hardware="hardware = no"
16 for opt in $result; do
18 '"packages"') packages="packages = yes";;
19 '"partitions"') partitions="partitions = yes";;
20 '"hardware"') hardware="hardware = yes";;
23 get_next_filename $configdirectory/10.sys
24 cat > $next_filename <<EOF
28 # packagesfile = /var/backups/dpkg-selections.txt
29 # partitionsfile = /var/backups/partitions.__star__.txt
30 # hardwarefile = /var/backups/hardware.txt
32 chmod 600 $next_filename