mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-06 13:06:11 +02:00
added option to download and delete iso backup
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user