From 7698e9f11f59db7e278db55fb10f097468bdd7bf Mon Sep 17 00:00:00 2001 From: monlor Date: Tue, 3 Mar 2020 20:52:31 +0800 Subject: [PATCH] 2020-03-03 20:52:31 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8f7e0d6..8270bf3 100644 --- a/install.sh +++ b/install.sh @@ -71,8 +71,8 @@ mkdir ${mbroot}/var/run touch ${mbroot}/config/applist.txt #初始化插件列表 cat ${mbroot}/config/mixbox.uci| while read line; do [ -z "$line" ] && continue - local ucikey="$(echo $line | cut -d'=' -f1)" - local ucivalue="$(echo $line | cut -d'=' -f2 | sed -e 's/\"//g')" + ucikey="$(echo $line | cut -d'=' -f1)" + ucivalue="$(echo $line | cut -d'=' -f2 | sed -e 's/\"//g')" ${mbroot}/bin/mbdb set mixbox.main."$ucikey"="$ucivalue" done ${mbroot}/bin/mbdb set mixbox.main.mbdisk="${mbdisk}"