mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 11:42:18 +08:00
v1.7.4
~修改自动update内置ubuntu版本为最新release版本 ~适配小米万兆路由,增加安装时目录选项
This commit is contained in:
parent
c8f7e352c6
commit
3379e8ed8a
|
@ -83,7 +83,7 @@ setdir(){
|
|||
df -h | awk '{print $6,$4}'| sed 1d
|
||||
echo '路径是必须带 / 的格式,注意写入虚拟内存(/tmp,/opt,/sys...)的文件会在重启后消失!!!'
|
||||
read -p "请输入自定义路径 > " dir
|
||||
if [ "$(dir_avail $dir)" = 0 ] &&;then
|
||||
if [ "$(dir_avail $dir)" = 0 ];then
|
||||
$echo "\033[31m路径错误!请重新设置!\033[0m"
|
||||
setdir
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user