summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <92harshsharma@gmail.com>2018-05-16 15:58:39 -0500
committerHarsh Sharma <92harshsharma@gmail.com>2018-05-16 15:58:39 -0500
commit461f32b7f7bd9ad502a913b5f02400c6213f1edb (patch)
tree6465235a7255fad349ee9a3ee12e24e42a09cf3e
parentefe3074a8d8877f5acc537e93d1520bd85260ef1 (diff)
downloadmeta-mlinux-461f32b7f7bd9ad502a913b5f02400c6213f1edb.tar.gz
meta-mlinux-461f32b7f7bd9ad502a913b5f02400c6213f1edb.tar.bz2
meta-mlinux-461f32b7f7bd9ad502a913b5f02400c6213f1edb.zip
Fixed init script bug
-rwxr-xr-xrecipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
index 688acd9..fa78949 100755
--- a/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
+++ b/recipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init
@@ -111,7 +111,7 @@ setup_mtcdt_2_1() {
fi
opt_conf_file=$opt_conf_dir/global_conf.json
- cp $CONFIG $opt_conf_file
+ cp $GLOBAL_CONF $opt_conf_file
sed -i "s/\"gateway_ID\": \".*\"/\"gateway_ID\": \"$lora_eui_raw\"/" $opt_conf_file