fix bugs & bump version
This commit is contained in:
@@ -36,11 +36,11 @@ custom_instance() {
|
||||
config_get_bool std_out $cfg 'log_stdout'
|
||||
config_get_bool std_err $cfg 'log_stderr'
|
||||
|
||||
[ -n "$acceptRoutes" ] && ARGS="$ARGS --accept-routes true"
|
||||
[ -n "$hostname" ] && ARGS="$ARGS --hostname $hostname"
|
||||
[ -n "$advertiseRoutes" ] && ARGS="$ARGS --advertise-routes $advertiseRoutes"
|
||||
[ -n "$loginServer" ] && ARGS="$ARGS --login-server $loginServer"
|
||||
[ -n "$authkey" ] && ARGS="$ARGS --authkey $authkey"
|
||||
[ "$acceptRoutes" = "1" ] && ARGS="$ARGS --accept-routes=true"
|
||||
[ -n "$hostname" ] && ARGS="$ARGS --hostname=$hostname"
|
||||
[ -n "$advertiseRoutes" ] && ARGS="$ARGS --advertise-routes=$advertiseRoutes"
|
||||
[ -n "$loginServer" ] && ARGS="$ARGS --login-server=$loginServer"
|
||||
[ -n "$authkey" ] && ARGS="$ARGS --authkey=$authkey"
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param command $PROG $ARGS
|
||||
|
||||
Reference in New Issue
Block a user