It is currently Thu Oct 30, 2014 8:40 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: make antivir work when booting from usb
PostPosted: Mon Oct 19, 2009 1:55 am 
Offline

Joined: Wed Oct 14, 2009 10:52 am
Posts: 5
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]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 19, 2009 11:25 pm 
Offline

Joined: Wed Oct 14, 2009 10:52 am
Posts: 5
ok, i just checked the latest resuce-system from avira... with that version the patch isn't needed anymore.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group