1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
#!/bin/sh
echo '';
echo 'Checking Tools';
if (test -x "bin/img_stat") then
blah=1;
else
echo "ERROR: Missing image file tools";
fi
if (test -x "bin/md5") then
blah=1;
else
echo "ERROR: Missing hash algorithm tools";
fi
if (test -x "bin/hfind") then
blah=1;
else
echo "ERROR: Missing hash database tools";
fi
if (test -x "bin/fsstat") then
blah=1;
else
echo "ERROR: Missing file system tools";
fi
if (test -x "bin/icat") then
blah=1;
else
echo "ERROR: Missing file system tools";
fi
if (test -x "bin/mmls") then
blah=1;
else
echo "ERROR: Missing media management tools";
fi
if (test -x "bin/srch_strings") then
blah=1;
else
echo "ERROR: Missing strings tool";
fi
if (test -x "bin/disk_stat") then
blah=1;
else
echo "ERROR: Missing disk_stat tool";
fi
if (test -x "bin/file") then
blah=1;
else
echo "ERROR: Missing 'file' command";
fi
if (test -x "bin/mactime") then
blah=1;
else
echo "ERROR: Missing mactime tool";
fi
if (test -x "bin/sorter") then
blah=1;
else
echo "ERROR: Missing sorter tool";
fi
echo 'Done';
|