clangcn / kcp-server

kcp-server one key install shell,build for https://github.com/kcptunsocks/kcptun/tree/router
661 stars 191 forks source link

关于install-kcp-server.sh的建议 #28

Closed tianshi1987 closed 8 years ago

tianshi1987 commented 8 years ago
read -p "Please enable compression input Y, Disable compression input n,Default [yes]):" strcompression
case "${strcompression}" in
1|[yY]|[yY][eE][sS]|[tT][rR][uU][eE]|[eE][nN][aA][bB][lL][eE])
    strcompression="enable"
    set_kcptun_comp="false"
;;
0|[nN]|[nN][oO]|[fF][aA][lL][sS][eE]|[dD][iI][sS][aA][bB][lL][eE])
    strcompression="disable"
    set_kcptun_comp="true"
;;
*)
    strcompression="enable"
    set_kcptun_comp="false"

建议set_kcptun_comp可以改成set_kcptun_nocomp

clangcn commented 8 years ago

感谢建议,下个版本改