// Example BootScript.
// Use with the StartScan options.

set loadlog false

// bodge to make sure that a log file exists if it needs to be deleted
append SlayRes:Logs.BootLog
close

// if it is monday, delete the old log file...
if mon cli wipe SlayRes:Logs.BootLog ~C F ~R ~V

// log when script was run...
append SlayRes:Logs.BootLog
write BootScript started at:
writetime
write

scan adfs::4.$

if virusfound write A virus was found during this scan.
if virusfound close
if virusfound loadopts
if virusfound end

write Scan was clear of viruses
close
loadopts
end