added option to download and delete iso backup

This commit is contained in:
Daniel Glanzmann
2008-10-01 15:43:22 +02:00
parent 20f92a61f5
commit b90a7e56fe
2 changed files with 24 additions and 0 deletions

View File

@@ -76,6 +76,9 @@ elsif ($ARGV[0] eq 'addonbackup') {
elsif ($ARGV[0] =~ /ipf$/ ) {
system("rm /var/ipfire/backup/$ARGV[0]");
}
elsif ($ARGV[0] =~ /iso$/ ) {
system("rm /var/tmp/backupiso/$ARGV[0]");
}
elsif ($ARGV[0] eq '') {
printf "No argument given, please use <include><exclude><cli>\n"
}