4 # backup_config_files()
5 # Returns files and directories that can be backed up
6 sub backup_config_files
9 if ($config{'config_file'}) {
10 push(@rv, $config{'config_file'});
14 while(@uinfo = getpwent()) {
15 local $path = "$uinfo[7]/.fetchmailrc";
16 push(@rv, $path) if (-r $path);
18 endpwent() if ($gconfig{'os_type'} ne 'hpux');
24 # Called before the files are actually read
31 # Called after the files are actually read
38 # Called before the files are restored from a backup
44 # post_restore(&files)
45 # Called after the files are restored from a backup