Ultimate Boot CD
http://www.ultimatebootcd.com/forums/

make antivir work when booting from usb
http://www.ultimatebootcd.com/forums/viewtopic.php?f=7&t=2106
Page 1 of 1

Author:  strowi [ Mon Oct 19, 2009 1:55 am ]
Post subject:  make antivir work when booting from usb

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:
--- 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]

Author:  strowi [ Mon Oct 19, 2009 11:25 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/