mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-03-03 20:52:31
This commit is contained in:
@@ -71,8 +71,8 @@ mkdir ${mbroot}/var/run
|
|||||||
touch ${mbroot}/config/applist.txt #初始化插件列表
|
touch ${mbroot}/config/applist.txt #初始化插件列表
|
||||||
cat ${mbroot}/config/mixbox.uci| while read line; do
|
cat ${mbroot}/config/mixbox.uci| while read line; do
|
||||||
[ -z "$line" ] && continue
|
[ -z "$line" ] && continue
|
||||||
local ucikey="$(echo $line | cut -d'=' -f1)"
|
ucikey="$(echo $line | cut -d'=' -f1)"
|
||||||
local ucivalue="$(echo $line | cut -d'=' -f2 | sed -e 's/\"//g')"
|
ucivalue="$(echo $line | cut -d'=' -f2 | sed -e 's/\"//g')"
|
||||||
${mbroot}/bin/mbdb set mixbox.main."$ucikey"="$ucivalue"
|
${mbroot}/bin/mbdb set mixbox.main."$ucikey"="$ucivalue"
|
||||||
done
|
done
|
||||||
${mbroot}/bin/mbdb set mixbox.main.mbdisk="${mbdisk}"
|
${mbroot}/bin/mbdb set mixbox.main.mbdisk="${mbdisk}"
|
||||||
|
|||||||
Reference in New Issue
Block a user