aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/comgt/files/ncm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/comgt/files/ncm.sh')
-rw-r--r--package/network/utils/comgt/files/ncm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/comgt/files/ncm.sh b/package/network/utils/comgt/files/ncm.sh
index 1f4d8a4e77..14b6347d3f 100644
--- a/package/network/utils/comgt/files/ncm.sh
+++ b/package/network/utils/comgt/files/ncm.sh
@@ -118,7 +118,7 @@ proto_ncm_setup() {
[ -n "$mode" ] && {
json_select modes
json_get_var setmode "$mode"
- COMMAND="$setmode" gcom -d "$device" -s /etc/gcom/runcommand.gcom || {
+ eval COMMAND="$setmode" gcom -d "$device" -s /etc/gcom/runcommand.gcom || {
echo "Failed to set operating mode"
proto_notify_error "$interface" SETMODE_FAILED
return 1