From 0496b5c76127a823c86bad5413ec841f48671f0a Mon Sep 17 00:00:00 2001 From: Georg Meyer Date: Mon, 6 Jan 2014 21:22:56 +0100 Subject: [PATCH] Source config file relative to script --- nsupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate.sh b/nsupdate.sh index 50c7f64..a0f3f9e 100755 --- a/nsupdate.sh +++ b/nsupdate.sh @@ -27,7 +27,7 @@ # from which site should we get your wan ip? IP_CHECK_SITE=http://checkip.dyndns.org -source nsupdate.config +source $(dirname $0)/nsupdate.config LOG=$0.log