Update cattools.sh
This commit is contained in:
@@ -30,8 +30,6 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update
|
|
||||||
|
|
||||||
update(){
|
update(){
|
||||||
if ! curl -fsSL https://service.miaoer.xyz/cattools/cattools.sh -o $(readlink -f "$0"); then
|
if ! curl -fsSL https://service.miaoer.xyz/cattools/cattools.sh -o $(readlink -f "$0"); then
|
||||||
echo "无法连接更新站点"
|
echo "无法连接更新站点"
|
||||||
@@ -128,6 +126,8 @@ catwrt_sysupgrade(){
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update
|
||||||
|
|
||||||
while :; do
|
while :; do
|
||||||
clear
|
clear
|
||||||
echo "CatTools"
|
echo "CatTools"
|
||||||
|
|||||||
Reference in New Issue
Block a user