From e1e2f37481b29276891e552561fab724d5550c70 Mon Sep 17 00:00:00 2001 From: Jeff Lane Date: Fri, 11 Apr 2014 16:36:16 -0400 Subject: pointed network script to the newer config location and changed error output slightly. --- bin/network | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/network b/bin/network index 6ab5b16..5d45a8d 100755 --- a/bin/network +++ b/bin/network @@ -429,7 +429,7 @@ def interface_test(args): # Determine whether to use the default or user-supplied config # file name. - DEFAULT_CFG = "/etc/checkbox.d/network.cfg" + DEFAULT_CFG = "/etc/xdg/canonical-certification.conf" if not "config" in vars(args): config_filename = DEFAULT_CFG else: @@ -449,7 +449,8 @@ def interface_test(args): # Validate that we got reasonable values if not test_target or "example.com" in test_target: # Default values found in config file - logging.error("Please supply target via: %s", config_filename) + logging.error("No target address found. Please check config file: %s" % + config_filename) sys.exit(1) # Testing begins here! -- cgit v1.2.3