mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 20:58:14 -05:00
简化启动代码
This commit is contained in:
parent
14efd13adc
commit
38ea26340d
12
deploy.sh
12
deploy.sh
@ -56,8 +56,8 @@ function menu() {
|
|||||||
echo
|
echo
|
||||||
echo "=============功能菜单============="
|
echo "=============功能菜单============="
|
||||||
echo "| 1 - 安装"
|
echo "| 1 - 安装"
|
||||||
echo "| 2 - 更新"
|
#echo "| 2 - 更新"
|
||||||
echo "| 3 - 卸载"
|
#echo "| 3 - 卸载"
|
||||||
echo "| q - 退出"
|
echo "| q - 退出"
|
||||||
echo "---------------------------------"
|
echo "---------------------------------"
|
||||||
printf "请选择菜单:"
|
printf "请选择菜单:"
|
||||||
@ -67,10 +67,10 @@ function menu() {
|
|||||||
echo "安装"
|
echo "安装"
|
||||||
deploy
|
deploy
|
||||||
|
|
||||||
elif [ "$n" = "2" ]; then
|
#elif [ "$n" = "2" ]; then
|
||||||
echo $n
|
# echo $n
|
||||||
elif [ "$n" = "3" ]; then
|
#elif [ "$n" = "3" ]; then
|
||||||
echo $n
|
# echo $n
|
||||||
elif [ "$n" = "q" ]; then
|
elif [ "$n" = "q" ]; then
|
||||||
echo 退出
|
echo 退出
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user