ha! now have support for finding non-checked-in files in git repositories for rev_re...
[feisty_meow.git] / scripts / archival / snarf_linux_config.pl
index b7066fd69390e5c15e40b69b409494be6748c61a..ae8fe097bacbc554799a0272255be509cc684ba8 100644 (file)
 #  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.
 local($number) = &retrieve_number("aa_backup");
 
 # variables used throughout.
-local($snarf_file_base) = snarf_prefix("config-linux_");
+local($snarf_file_base) = snarf_prefix("config-linux");
 local($snarf_file) = &snarf_name($snarf_file_base, $number);
 
 # store the current archive number in the file for retrieval on the
@@ -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");