11 lines
516 B
Text
11 lines
516 B
Text
|
#!/bin/env bash
|
||
|
/usr/bin/hbbs \
|
||
|
$([ "" != "$KEY" ] && echo --key $KEY) \
|
||
|
$([ "" != "$RELAY_SERVERS" ] && echo --relay-servers $RELAY_SERVERS) \
|
||
|
$([ "" != "$PORT" ] && echo --port $PORT) \
|
||
|
$([ "" != "$CONFIG_FILE" ] && echo --config $CONFIG_FILE) \
|
||
|
$([ "" != "$SERIAL" ] && echo --serial $SERIAL) \
|
||
|
$([ "" != "$SOFTWARE_URL" ] && echo --software-url $SOFTWARE_URL) \
|
||
|
$([ "" != "$RENDEZVOUS_SERVER" ] && echo --rendezvous-servers $RENDEZVOUS_SERVER) \
|
||
|
$([ "" != "$CONFIG_FILE" ] && echo --config $CONFIG_FILE)
|