I hereby claim:
- I am realmirai on github.
- I am haketa (https://keybase.io/haketa) on keybase.
- I have a public key ASBoad0UT95V10uCXeszNMSnGaXggBkZW34FoUbSx6pnHAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
function check_env() { | |
libev_ver=$(ss-local -h | grep "shadowsocks-libev") | |
[ -z "$libev_ver" ] && echo "[Error] Cannot find shadowsocks-libev" && exit 1 | |
obfs_ver=$(obfs-local -h | grep "simple-obfs") | |
} | |
function get_pid() { | |
pid=$(ps -x | grep "/tmp/ss-local.pid" | grep "ss-local -c" | grep -oP '^\s*\d+' | grep -oP '\d+') |