Files
glorytun/systemd/glorytun-run
Adrien Gallouët 04c93b6fe6 Merge glorytunctl with glorytun and use argz
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2018-02-11 19:43:19 +00:00

7 lines
123 B
Bash
Executable File

#!/bin/sh
exec glorytun bind "$@" \
${DEV:+dev "$DEV"} \
${HOST:+to "$HOST" "$PORT"} \
${BIND_PORT:+port "$BIND_PORT"}