make antivir work when booting from usb

Discussion/announcements about test/beta releases of UBCD will be posted here.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
strowi
Posts: 5
Joined: Wed Oct 14, 2009 10:52 am

make antivir work when booting from usb

#1 Post by strowi » 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.

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" = "$?" ]
greetings,
strowi[/code]

strowi
Posts: 5
Joined: Wed Oct 14, 2009 10:52 am

#2 Post by strowi » Mon Oct 19, 2009 11:25 pm

ok, i just checked the latest resuce-system from avira... with that version the patch isn't needed anymore.

Post Reply