From 27a83a928625f2d3c46709e7f0dab1d1c1852389 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 May 2018 18:38:11 +0100 Subject: [PATCH] Remove the inadyn commit from the completion file --- src/freedombone-utils-web | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index 1e52ce2c..55831eed 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -485,6 +485,10 @@ function install_dynamicdns { return fi + if grep -q "INADYN_COMMIT" "$COMPLETION_FILE"; then + sed -i '/INADYN_COMMIT/d' "$COMPLETION_FILE" + fi + CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit") echo "************ 3 $CURR_INADYN_COMMIT $INADYN_COMMIT" if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then