summaryrefslogtreecommitdiff
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2014-04-11 16:36:16 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2014-04-11 16:36:16 -0400
commite1e2f37481b29276891e552561fab724d5550c70 (patch)
treeb6cd69fe7bfab937ceb9edb2dceb8c92a20a3f30
parent4173cea83c6218d403ce0b141e2a25e919b6fa24 (diff)
pointed network script to the newer config location and changed error output slightly.
-rwxr-xr-xbin/network5
1 files 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!