diff --git a/README.md b/README.md index fccf0a9..9de183b 100755 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ You can also provide your own shell script if your gateway is not supported yet. * [Outputs](#outputs) - + diff --git a/tunnel.sh b/tunnel.sh index a4f3716..9733e98 100755 --- a/tunnel.sh +++ b/tunnel.sh @@ -4,13 +4,13 @@ ret=0 #--- -function ps_is_busybox() +ps_is_busybox() { [ "$(readlink /bin/ps)" = "/bin/busybox" ] } #--- -function process_is_up() +process_is_up() { local pid ret