getconf packagemgr `which dpkg`
getconf packagemgroptions ' --get-selections *'
getconf selectionsfile $parentir/debconfsel.txt
- getconf debconfgetselections `debconf-get-selections`
+ getconf debconfgetselections `which debconf-get-selections`
elif [ $os = "redhat" ]
then
getconf packagesfile $parentdir/rpmpackages.txt
catiffile "/proc/ide"
STATUS="Gathering information about your bus:"
-catifexec lspci
+catifexec "/usr/bin/lspci"
catiffile "/proc/bus"
echo
catiffile "/etc/fstab"
STATUS="Collecting disk partition information:"
-catifexec "fdisk -l"
+catifexec "/sbin/fdisk -l"
STATUS="Checking mounted file systems (mount) "
catifexec "/bin/mount"
STATUS="Collecting Software RAID information (/etc/mdadm.conf)"
catiffile "/etc/mdadm.conf"
+STATUS="Collecting Software RAID information (/sbin/mdadm -Q)"
+catifexec "/sbin/mdadm" "-Q" "--detail" '/dev/md?*'
+
STATUS="Collecting Automount information (auto.master)"
catiffile "/etc/auto.master"