2018-12-31

This commit is contained in:
monlor
2018-12-31 23:47:47 +08:00
commit 3ae56f5e6e
1091 changed files with 173538 additions and 0 deletions

11
temp/command.txt Normal file
View File

@@ -0,0 +1,11 @@
# 内部更新命令
sh -c "$(curl -kfsSl https://qcloud.coding.net/u/monlor/p/MIXBOX-BETA/git/raw/master/install.sh)" && source /etc/profile &> /dev/null
# 查看插件常用命令appname为插件名
mixbox help
# 工具箱旧版卸载使用以下命令:
sh -c "$(curl -kfsSl https://qcloud.coding.net/u/monlor/p/MIXBOX-BETA/git/raw/master/temp/uninstall_old.sh)" && source /etc/profile &> /dev/null
# 一键更新所有插件(请先更新工具箱)
applist installed -n | while read line; do mixbox upgrade $line; done

BIN
temp/dnsmasq Normal file

Binary file not shown.

BIN
temp/img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
temp/img_old.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

15
temp/uninstall_old.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
echo "本卸载脚本不会有任何提示但会很干净的卸载旧的工具箱GoodBye..."
ls $(uci get monlor.tools.path)/apps 2> /dev/null | while read appname; do
$(uci get monlor.tools.path)/apps/$appname/script/$appname.sh stop &> /dev/null
done
umount -lf /etc/config &> /dev/null
sed -i '/monlor/d' /etc/crontabs/root &> /dev/null
sed -i '/monlor/d' /etc/firewall.user &> /dev/null
sed -i "/monlor\/config/d" /etc/profile &> /dev/null
sed -i 's#:/etc/monlor/scripts##' /etc/profile &> /dev/null
[ -n "$(uci get monlor.tools.path)" ] && rm -rf $(uci get monlor.tools.path)
rm -rf /etc/monlor &> /dev/null
rm -rf /etc/config/monlor &> /dev/null

BIN
temp/wget_armv7l Normal file

Binary file not shown.