# 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("linux_config");
+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
# 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");