~新增定时任务功能(实验性,欢迎测试)
~修复测试命令时一个报错的小bug
~安装本地面板增加自动挂载/www目录
This commit is contained in:
juewuy 2020-08-14 15:00:47 +08:00
parent 2a60440585
commit f09a7a7599
2 changed files with 0 additions and 4 deletions

Binary file not shown.

View File

@ -427,10 +427,6 @@ if [ "$res" = '1' ]; then
getdb
else
echo -e "\033[33m下载成功正在解压文件\033[0m"
if cat /proc/mounts | grep -q www ;then
echo 检测到/www为只读正在重新挂载
mount -o remount -rw /www
fi
mkdir -p /www/clash > /dev/null
tar -zxvf '/tmp/clashdb.tar.gz' -C /www/clash > /dev/null
[ $? -ne 0 ] && echo "文件解压失败!" && exit 1