debconf-get-selections
. fixed catifexec function to actually work, also now passes the arguments
given to catifexec() to the called command (Thanks John Hallam!)
+ . Added more robust software RAID information capture by running mdadm
+ -Q --detail /dev/md?* because some people may have empty mdadm.conf files
+ (Thanks to John Hallam).
version 0.9.5 -- December 2, 2007
backupninja changes
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"