4 # backup_config_files()
5 # Returns files and directories that can be backed up
6 sub backup_config_files
8 local @rv = ( $config{'hosts_file'} );
9 if ($config{'ipnodes_file'}) {
10 push(@rv, $config{'ipnodes_file'});
12 local $dns = &get_dns_config();
13 push(@rv, @{$dns->{'files'}});
14 if (defined(&routing_config_files)) {
15 push(@rv, &routing_config_files());
17 if (defined(&network_config_files)) {
18 push(@rv, &network_config_files());
20 push(@rv, map { $_->{'file'} } &boot_interfaces());
25 # Called before the files are actually read
32 # Called after the files are actually read
39 # Called before the files are restored from a backup
45 # post_restore(&files)
46 # Called after the files are restored from a backup
49 if (defined(&apply_network)) {