X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fsnarf_linux_config.pl;h=ae8fe097bacbc554799a0272255be509cc684ba8;hb=2f5f0147ce2a06813e4fee82bd771ebf8c8a73ee;hp=b59e1f3fe4d841a38e91d31464943a48253a0d10;hpb=1789d98b94ccc0052019f4f79233df29db2a3e35;p=feisty_meow.git diff --git a/scripts/archival/snarf_linux_config.pl b/scripts/archival/snarf_linux_config.pl index b59e1f3f..ae8fe097 100644 --- a/scripts/archival/snarf_linux_config.pl +++ b/scripts/archival/snarf_linux_config.pl @@ -15,9 +15,10 @@ # version of the License. Please send any updates to "fred@gruntose.com". ############## -require "importenv.pl"; require "shared_snarfer.pl"; +use Env qw(HOME); + &initialize_snarfer; # get the number we use and increment it for the next use. @@ -66,6 +67,9 @@ unlink $infofile; # now get the entire /etc hierarchy... &backup_hierarchy($snarf_file_base, $number, "/", "etc"); +# suck in the current state for the resolver. +&backup_hierarchy($snarf_file_base, $number, "/", "run/resolvconf"); + # clean out extra files. &remove_from_backup($snarf_file_base, $number, "etc/cups/ppds.dat*"); &remove_from_backup($snarf_file_base, $number, "etc/httpd/conf/ssl.crt/ca-bundle.crt");