make antivir work when booting from usb
Posted: Mon Oct 19, 2009 1:55 am
hi,
i am in the process of testing the ubcd from usb...
With Avira i had the problem, that the provided initrd.igz only searches iso9660 filesystems for the antivir-directory...
Since vfat is recognised as msdos the following patch also searches for msdos-fs.
greetings,
strowi[/code]
i am in the process of testing the ubcd from usb...
With Avira i had the problem, that the provided initrd.igz only searches iso9660 filesystems for the antivir-directory...
Since vfat is recognised as msdos the following patch also searches for msdos-fs.
Code: Select all
--- orginal/etc/init.d/rescue/bootupFunctions 2008-12-08 18:59:41.000000000 +0100
+++ modified/etc/init.d/rescue/bootupFunctions 2009-10-19 11:47:27.000000000 +0200
@@ -8,7 +8,7 @@
get_vdfs()
{
echo "Suche VDF Dateien;0; "
- for i in `mount | grep -e "iso9660" | awk '{print $3}'`
+ for i in `mount | grep -e "iso9660" -e "msdos" | awk '{print $3}'`
do
ls $i/antivir 2>/dev/null | grep -e "antivir" >/dev/null
if [ "0" = "$?" ]
strowi[/code]