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