mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v0.9.0
~新增定时任务功能(实验性,欢迎测试) ~修复测试命令时一个报错的小bug ~安装本地面板增加自动挂载/www目录
This commit is contained in:
parent
2a60440585
commit
f09a7a7599
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user