Handle hostnames with upper-case letters
[webmin.git] / firewall / backup_config.pl
1
2 do 'firewall-lib.pl';
3
4 # backup_config_files()
5 # Returns files and directories that can be backed up
6 sub backup_config_files
7 {
8 return ( $iptables_save_file );
9 }
10
11 # pre_backup(&files)
12 # Called before the files are actually read
13 sub pre_backup
14 {
15 return undef;
16 }
17
18 # post_backup(&files)
19 # Called after the files are actually read
20 sub post_backup
21 {
22 return undef;
23 }
24
25 # pre_restore(&files)
26 # Called before the files are restored from a backup
27 sub pre_restore
28 {
29 &run_before_command();
30 return undef;
31 }
32
33 # post_restore(&files)
34 # Called after the files are restored from a backup
35 sub post_restore
36 {
37 &run_after_command();
38 return &apply_configuration();
39 }
40
41 1;
42