-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdeploy_node-backup.sh
458 lines (422 loc) · 17.5 KB
/
deploy_node-backup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
#=================================================================#
# System Required: CentOS7, Ubuntu, Root Permission #
# Description: panel node deploy script #
# Version: 1.1.0 #
# Author: 阿拉凹凸曼 #
# Intro: https://sobaigu.com/ #
#==================================================================
[ $(id -u) != "0" ] && { echo "错误: 请用root执行"; exit 1; }
sys_bit=$(uname -m)
if [[ -f /usr/bin/apt ]] || [[ -f /usr/bin/yum && -f /bin/systemctl ]]; then
if [[ -f /usr/bin/yum ]]; then
cmd="yum"
$cmd -y install epel-release
fi
if [[ -f /usr/bin/apt ]]; then
cmd="apt"
fi
if [[ -f /bin/systemctl ]]; then
systemd=true
fi
else
echo -e " 哈哈……这个 ${red}辣鸡脚本${none} 只支持CentOS7+及Ubuntu14+ ${yellow}(-_-) ${none}" && exit 1
fi
service_Cmd() {
if [[ $systemd ]]; then
systemctl $1 $2
else
service $2 $1
fi
}
$cmd update -y
$cmd install -y wget curl unzip git gcc vim lrzsz screen ntp ntpdate cron net-tools telnet python-pip m2crypto
# 设置时区为CST
echo yes | cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ntpdate cn.pool.ntp.org
hwclock -w
sed -i '/^.*ntpdate*/d' /etc/crontab
sed -i '$a\* * * * 1 ntpdate cn.pool.ntp.org >> /dev/null 2>&1' /etc/crontab
service_Cmd restart crond
error() {
echo -e "\n$red 输入错误!$none\n"
}
pause() {
read -rsp "$(echo -e "按$green Enter 回车键 $none继续....或按$red Ctrl + C $none取消.")" -d $'\n'
echo
}
get_ip() {
ip=$(curl -s https://ipinfo.io/ip)
[[ -z $ip ]] && ip=$(curl -s https://api.ip.sb/ip)
[[ -z $ip ]] && ip=$(curl -s https://api.ipify.org)
[[ -z $ip ]] && ip=$(curl -s https://ip.seeip.org)
[[ -z $ip ]] && ip=$(curl -s https://ifconfig.co/ip)
[[ -z $ip ]] && ip=$(curl -s https://api.myip.com | grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}")
[[ -z $ip ]] && ip=$(curl -s icanhazip.com)
[[ -z $ip ]] && ip=$(curl -s myip.ipip.net | grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}")
[[ -z $ip ]] && echo -e "\n$red 这小鸡鸡还是割了吧!$none\n" && exit
}
config_v2ray_caddy() {
read -p "伪装域名,如 sobaigu.com :" fake_Domain
[ -z "$fake_Domain" ] && fake_Domain=":80 :443"
read -p "$(echo -e "$yellow转发路径$none(不要带/,默认:${cyan}game$none)"):" forward_Path
[ -z "$forward_Path" ] && forward_Path="game"
read -p "$(echo -e "$yellow V2Ray端口$none(不可80/443,默认:${cyan}10086$none)"):" v2ray_Port
[ -z "$v2ray_Port" ] && v2ray_Port="10086"
read -p "$(echo -e "$yellow V2Ray额外ID$none(默认:${cyan}16$none)"):" alter_Id
[ -z "$alter_Id" ] && alter_Id="16"
read -p "$(echo -e "$yellow配置同步端口$none(不可80/443,默认:${cyan}10087$none)"):" usersync_Port
[ -z "$usersync_Port" ] && usersync_Port="10087"
read -p "面板分配的节点ID,如 6 :" node_Id
read -p "数据库地址,如 1.1.1.1 :" db_Host
read -p "$(echo -e "$yellow数据库名称$none(默认:${cyan}3306$none)"):" db_Port
[ -z "$db_Port" ] && db_Port="3306"
read -p "$(echo -e "$yellow数据库名称$none(默认:${cyan}ssrpanel$none)"):" db_Name
[ -z "$db_Name" ] && db_Name="ssrpanel"
read -p "$(echo -e "$yellow数据库用户$none(默认:${cyan}ssrpanel$none)"):" db_User
[ -z "$db_User" ] && db_User="ssrpanel"
read -p "数据库密码,如 ssrpanel :" db_Password
install_caddy
install_v2ray
firewall_set
service_Cmd status caddy
service_Cmd status v2ray
}
config_v2ray() {
read -p "面板分配的节点ID,如 6 :" node_Id
read -p "$(echo -e "$yellow V2Ray端口$none(不可80/443,默认:${cyan}10086$none)"):" v2ray_Port
[ -z "$v2ray_Port" ] && v2ray_Port="10086"
read -p "$(echo -e "$yellow配置同步端口$none(不可80/443,默认:${cyan}10087$none)"):" usersync_Port
[ -z "$usersync_Port" ] && usersync_Port="10087"
read -p "$(echo -e "$yellow转发路径$none(不要带/,默认:${cyan}game$none)"):" forward_Path
[ -z "$forward_Path" ] && forward_Path="game"
read -p "$(echo -e "$yellow V2Ray额外ID$none(默认:${cyan}16$none)"):" alter_Id
[ -z "$alter_Id" ] && alter_Id="16"
read -p "数据库地址,如 1.1.1.1 :" db_Host
read -p "$(echo -e "$yellow数据库名称$none(默认:${cyan}3306$none)"):" db_Port
[ -z "$db_Port" ] && db_Port="3306"
read -p "$(echo -e "$yellow数据库名称$none(默认:${cyan}ssrpanel$none)"):" db_Name
[ -z "$db_Name" ] && db_Name="ssrpanel"
read -p "$(echo -e "$yellow数据库用户$none(默认:${cyan}ssrpanel$none)"):" db_User
[ -z "$db_User" ] && db_User="ssrpanel"
read -p "数据库密码,如 ssrpanel :" db_Password
install_v2ray
firewall_set
service_Cmd status v2ray
echo -e "默认日志输出级别为debug,搞定后建议修改为error"
echo -e "完整配置示例可以参考这里:http://sobaigu.com/ssrpanel-v2ray-go.html#V2Ray"
}
config_caddy() {
read -p "伪装域名,如 sobaigu.com :" fake_Domain
read -p "$(echo -e "$yellow转发路径$none(不要带/,默认:${cyan}game$none)"):" forward_Path
[ -z "$forward_Path" ] && forward_Path="game"
read -p "$(echo -e "$yellow转发到V2Ray端口$none(不可80/443,默认:${cyan}10086$none)"):" v2ray_Port
[ -z "$v2ray_Port" ] && v2ray_Port="10086"
install_caddy
firewall_set
service_Cmd status caddy
}
install_v2ray(){
# 先卸载再装
# original post https://github.com/v2ray/v2ray-core/issues/187
systemctl stop v2ray
rm -rf /usr/bin/v2ray /etc/init.d/v2ray /lib/systemd/system/v2ray.service
echo "Logs and configurations are preserved, you can remove these manually"
echo "logs directory: /var/log/v2ray"
echo "configuration directory: /etc/v2ray"
curl -L -s https://raw.githubusercontent.com/fei5seven/v2ray-ssrpanel-plugin/master/install-release.sh | bash
wget --no-check-certificate -O config.json https://raw.githubusercontent.com/fei5seven/ssrpanel-v2ray-java/master/resource/v2ray-config.json
sed -i -e "s/v2ray_Port/$v2ray_Port/g" config.json
sed -i -e "s/alter_Id/$alter_Id/g" config.json
sed -i -e "s/forward_Path/$forward_Path/g" config.json
sed -i -e "s/usersync_Port/$usersync_Port/g" config.json
sed -i -e "s/node_Id/$node_Id/g" config.json
sed -i -e "s/db_Host/$db_Host/g" config.json
sed -i -e "s/db_Port/$db_Port/g" config.json
sed -i -e "s/db_Name/$db_Name/g" config.json
sed -i -e "s/db_User/$db_User/g" config.json
sed -i -e "s/db_Password/$db_Password/g" config.json
mv -f config.json /etc/v2ray/
service_Cmd restart v2ray
}
install_caddy() {
if [[ $cmd == "yum" ]]; then
[[ $(pgrep "httpd") ]] && systemctl stop httpd
[[ $(command -v httpd) ]] && yum remove httpd -y
else
[[ $(pgrep "apache2") ]] && service apache2 stop
[[ $(command -v apache2) ]] && apt remove apache2* -y
fi
local caddy_tmp="/tmp/install_caddy/"
local caddy_tmp_file="/tmp/install_caddy/caddy.tar.gz"
if [[ $sys_bit == "i386" || $sys_bit == "i686" ]]; then
local caddy_download_link="https://caddyserver.com/download/linux/386?license=personal"
elif [[ $sys_bit == "x86_64" ]]; then
local caddy_download_link="https://caddyserver.com/download/linux/amd64?license=personal"
else
echo -e "$red 自动安装 Caddy 失败!不支持你的系统。$none" && exit 1
fi
mkdir -p $caddy_tmp
if ! wget --no-check-certificate -O "$caddy_tmp_file" $caddy_download_link; then
echo -e "$red 下载 Caddy 失败!$none" && exit 1
fi
tar zxf $caddy_tmp_file -C $caddy_tmp
cp -f ${caddy_tmp}caddy /usr/local/bin/
if [[ ! -f /usr/local/bin/caddy ]]; then
echo -e "$red 安装 Caddy 出错!" && exit 1
fi
setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/caddy
if [[ $systemd ]]; then
cp -f ${caddy_tmp}init/linux-systemd/caddy.service /lib/systemd/system/
# sed -i "s/www-data/root/g" /lib/systemd/system/caddy.service
sed -i "s/on-failure/always/" /lib/systemd/system/caddy.service
systemctl enable caddy
else
cp -f ${caddy_tmp}init/linux-sysvinit/caddy /etc/init.d/caddy
# sed -i "s/www-data/root/g" /etc/init.d/caddy
chmod +x /etc/init.d/caddy
update-rc.d -f caddy defaults
fi
mkdir -p /etc/ssl/caddy
if [ -z "$(grep www-data /etc/passwd)" ]; then
useradd -M -s /usr/sbin/nologin www-data
fi
chown -R www-data.www-data /etc/ssl/caddy
rm -rf $caddy_tmp
echo -e "Caddy安装完成!"
# 放个本地游戏网站
wget --no-check-certificate -O www.zip https://raw.githubusercontent.com/fei5seven/ssrpanel-v2ray-java/master/resource/www.zip
unzip -n www.zip -d /srv/ && rm -f www.zip
# 修改配置
mkdir -p /etc/caddy/
wget --no-check-certificate -O Caddyfile https://raw.githubusercontent.com/fei5seven/ssrpanel-v2ray-java/master/resource/Caddyfile
local user_Name=$(((RANDOM << 22)))
sed -i -e "s/user_Name/$user_Name/g" Caddyfile
sed -i -e "s/fake_Domain/$fake_Domain/g" Caddyfile
sed -i -e "s/forward_Path/$forward_Path/g" Caddyfile
sed -i -e "s/v2ray_Port/$v2ray_Port/g" Caddyfile
mv -f Caddyfile /etc/caddy/
service_Cmd restart caddy
}
# Firewall
firewall_set(){
echo -e "[${green}Info${plain}] firewall set start..."
if command -v firewall-cmd >/dev/null 2>&1; then
systemctl status firewalld > /dev/null 2>&1
if [ $? -eq 0 ]; then
firewall-cmd --permanent --zone=public --remove-port=443/tcp
firewall-cmd --permanent --zone=public --remove-port=80/tcp
firewall-cmd --permanent --zone=public --add-port=443/tcp
firewall-cmd --permanent --zone=public --add-port=80/tcp
if [[ $v2ray_Port ]]; then
firewall-cmd --permanent --zone=public --remove-port=${v2ray_Port}/tcp
firewall-cmd --permanent --zone=public --remove-port=${v2ray_Port}/udp
firewall-cmd --permanent --zone=public --add-port=${v2ray_Port}/tcp
firewall-cmd --permanent --zone=public --add-port=${v2ray_Port}/udp
firewall-cmd --reload
fi
if [[ $single_Port_Num ]]; then
firewall-cmd --permanent --zone=public --remove-port=${single_Port_Num}/tcp
firewall-cmd --permanent --zone=public --remove-port=${single_Port_Num}/udp
firewall-cmd --permanent --zone=public --add-port=${single_Port_Num}/tcp
firewall-cmd --permanent --zone=public --add-port=${single_Port_Num}/udp
firewall-cmd --reload
fi
else
echo -e "[${yellow}Warning${plain}] firewalld looks like not running or not installed, please manually set it if necessary."
fi
elif command -v iptables >/dev/null 2>&1; then
/etc/init.d/iptables status > /dev/null 2>&1
if [ $? -eq 0 ]; then
iptables -D INPUT -p tcp --dport 443 -j ACCEPT
iptables -D INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
ip6tables -D INPUT -p tcp --dport 443 -j ACCEPT
ip6tables -D INPUT -p tcp --dport 80 -j ACCEPT
ip6tables -A INPUT -p tcp --dport 443 -j ACCEPT
ip6tables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -L -n | grep -i ${v2ray_Port} > /dev/null 2>&1
if [ $? -ne 0 ]; then
iptables -D INPUT -p tcp --dport ${v2ray_Port} -j ACCEPT
iptables -A INPUT -p tcp --dport ${v2ray_Port} -j ACCEPT
iptables -D INPUT -p udp --dport ${v2ray_Port} -j ACCEPT
iptables -A INPUT -p udp --dport ${v2ray_Port} -j ACCEPT
ip6tables -D INPUT -p tcp --dport ${v2ray_Port} -j ACCEPT
ip6tables -A INPUT -p tcp --dport ${v2ray_Port} -j ACCEPT
ip6tables -D INPUT -p udp --dport ${v2ray_Port} -j ACCEPT
ip6tables -A INPUT -p udp --dport ${v2ray_Port} -j ACCEPT
/etc/init.d/iptables save
/etc/init.d/iptables restart
/etc/init.d/ip6tables save
/etc/init.d/ip6tables restart
else
echo -e "[${green}Info${plain}] port 80, 443, ${v2ray_Port} has been set up."
fi
iptables -L -n | grep -i ${single_Port_Num} > /dev/null 2>&1
if [ $? -ne 0 ]; then
iptables -D INPUT -p tcp --dport ${single_Port_Num} -j ACCEPT
iptables -A INPUT -p tcp --dport ${single_Port_Num} -j ACCEPT
iptables -D INPUT -p udp --dport ${single_Port_Num} -j ACCEPT
iptables -A INPUT -p udp --dport ${single_Port_Num} -j ACCEPT
ip6tables -D INPUT -p tcp --dport ${single_Port_Num} -j ACCEPT
ip6tables -A INPUT -p tcp --dport ${single_Port_Num} -j ACCEPT
ip6tables -D INPUT -p udp --dport ${single_Port_Num} -j ACCEPT
ip6tables -A INPUT -p udp --dport ${single_Port_Num} -j ACCEPT
/etc/init.d/iptables save
/etc/init.d/iptables restart
/etc/init.d/ip6tables save
/etc/init.d/ip6tables restart
else
echo -e "[${green}Info${plain}] port 80, 443, ${single_Port_Num} has been set up."
fi
else
echo -e "[${yellow}Warning${plain}] iptables looks like shutdown or not installed, please manually set it if necessary."
fi
fi
echo -e "[${green}Info${plain}] firewall set completed..."
}
install_ssr(){
clear
cd /usr/
rm -rf /usr/shadowsocksr
echo 'SSR下载中...'
git clone -b master https://github.com/fei5seven/shadowsocksr.git && cd shadowsocksr && bash initcfg.sh
pip install --upgrade setuptools && pip install -r requestment.txt
echo 'SSR安装完成'
echo '开始配置节点连接信息...'
read -p "数据库服务器地址:" db_Host
read -p "$(echo -e "$yellow数据库连接端口$none(默认:${cyan}3306$none)"):" db_Port
[ -z "$db_Port" ] && db_Port="3306"
read -p "$(echo -e "$yellow数据库名称$none(默认:${cyan}ssrpanel$none)"):" db_Name
[ -z "$db_Name" ] && db_Name="ssrpanel"
read -p "$(echo -e "$yellow数据库用户名$none(默认:${cyan}ssrpanel$none)"):" db_User
[ -z "$db_User" ] && db_User="ssrpanel"
read -p "$(echo -e "$yellow数据库密码$none(默认:${cyan}ssrpanel$none)"):" db_Password
[ -z "$db_Password" ] && db_Password="ssrpanel"
read -p "本节点ID:" node_Id
read -p "$(echo -e "$yellow流量计算比例$none(默认:${cyan}1.5$none)"):" transfer_Ratio
[ -z "$transfer_Ratio" ] && transfer_Ratio="1.5"
sed -i -e "s/db_Host/$db_Host/g" usermysql.json
sed -i -e "s/db_Port/$db_Port/g" usermysql.json
sed -i -e "s/db_Name/$db_Name/g" usermysql.json
sed -i -e "s/db_User/$db_User/g" usermysql.json
sed -i -e "s/db_Password/$db_Password/g" usermysql.json
sed -i -e "s/node_Id/$node_Id/g" usermysql.json
sed -i -e "s/transfer_Ratio/$transfer_Ratio/g" usermysql.json
echo -e "配置完成!\n如果无法连上数据库,请检查本机防火墙或者数据库防火墙!\n下一步配置user-config.json,配置节点加密方式、混淆、协议等"
echo -e "是否强制单端口:"$yellow"true"" or "$yellow"false"$none
read -p "$(echo -e "(默认:${cyan}true$none)"):" single_Port_Enable
[ -z "$single_Port_Enable" ] && single_Port_Enable="true"
read -p "$(echo -e "$yellow输入单端口号$none(默认:${cyan}8080$none)"):" single_Port_Num
[ -z "$single_Port_Num" ] && single_Port_Num="8080"
read -p "$(echo -e "$yellow设置认证密码$none(默认:${cyan}forvip$none)"):" ss_Password
[ -z "$ss_Password" ] && ss_Password="forvip"
echo -e "选择加密方式:$yellow \n1. none\n2. rc4-md5\n3. aes-256-cfb\n4. chacha20"$none
read -p "$(echo -e "(默认:${cyan}2. rc4-md5$none)"):" ss_method
[ -z "$ss_method" ] && ss_method="rc4-md5"
if [[ $ss_method ]]; then
case $ss_method in
1)
ss_method="none"
;;
2)
ss_method="rc4-md5"
;;
3)
ss_method="aes-256-cfb"
;;
4)
ss_method="chacha20"
;;
esac
fi
echo -e "选择传输协议:$yellow \n1. origin\n2. auth_sha1_v4\n3. auth_aes128_md5\n4. auth_chain_a"$none
read -p "$(echo -e "(默认:${cyan}3. auth_aes128_md5$none)"):" ss_protocol
[ -z "$ss_protocol" ] && ss_protocol="auth_aes128_md5"
if [[ $ss_protocol ]]; then
case $ss_protocol in
1)
ss_protocol="origin"
;;
2)
ss_protocol="auth_sha1_v4"
;;
3)
ss_protocol="auth_aes128_md5"
;;
4)
ss_protocol="auth_chain_a"
;;
esac
fi
echo -e "选择混淆方式:$yellow \n1. plain\n2. http_simple\n3. http_post\n4. tls1.2_ticket_auth"$none
read -p "$(echo -e "(默认:${cyan}2. http_simple$none)"):" ss_obfs
[ -z "$ss_obfs" ] && ss_obfs="http_simple"
if [[ $ss_obfs ]]; then
case $ss_obfs in
1)
ss_obfs="plain"
;;
2)
ss_obfs="http_simple"
;;
3)
ss_obfs="http_post"
;;
4)
ss_obfs="tls1.2_ticket_auth"
;;
esac
fi
read -p "$(echo -e "输入限制使用设备数:(默认:${cyan}不限制,直接回车即可$none)"):" ss_Online_Num
[ -z "$ss_Online_Num" ] && ss_Online_Num=""
read -p "$(echo -e "用户限速值(K):(默认:${cyan}不限制,直接回车即可$none)"):" ss_Ban_Limit
[ -z "$ss_Ban_Limit" ] && ss_Ban_Limit="0"
sed -i -e "s/single_Port_Enable/$single_Port_Enable/g" user-config.json
sed -i -e "s/single_Port_Num/$single_Port_Num/g" user-config.json
sed -i -e "s/ss_Password/$ss_Password/g" user-config.json
sed -i -e "s/ss_method/$ss_method/g" user-config.json
sed -i -e "s/ss_protocol/$ss_protocol/g" user-config.json
sed -i -e "s/ss_obfs/$ss_obfs/g" user-config.json
sed -i -e "s/ss_Online_Num/$ss_Online_Num/g" user-config.json
sed -i -e "s/ss_Ban_Limit/$ss_Ban_Limit/g" user-config.json
#启动并设置开机自动运行
chmod +x run.sh && ./run.sh
sed -i "/shadowsocksr\/run.sh$/d" /etc/rc.d/rc.local
echo "/usr/shadowsocksr/run.sh" >> /etc/rc.d/rc.local
firewall_set
}
open_bbr(){
cd
wget -N --no-check-certificate "https://raw.githubusercontent.com/fei5seven/Shell-1/master/bbr_tcp_mod.sh"
bash bbr_tcp_mod.sh
}
echo -e "1.Install V2Ray+Caddy"
echo -e "2.Install V2Ray"
echo -e "3.Install Caddy"
echo -e "4.Install SSR"
echo -e "5.Open BBR"
read -p "请输入数字进行安装[1-5]:" menu_Num
case "$menu_Num" in
1)
config_v2ray_caddy
;;
2)
config_v2ray
;;
3)
config_caddy
;;
4)
install_ssr
;;
5)
open_bbr
;;
*)
echo "请输入正确数字[1-5]:"
;;
esac