mirror of
https://github.com/tonarino/innernet.git
synced 2024-12-02 09:11:55 +02:00
15 lines
275 B
Bash
Executable File
15 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
INTERFACE="${INTERFACE:-innernet}"
|
|
innernet $INNERNET_ARGS install \
|
|
--name "$INTERFACE" \
|
|
--delete-invite \
|
|
--no-write-hosts \
|
|
/app/invite.toml
|
|
|
|
while true; do
|
|
innernet $INNERNET_ARGS up --no-write-hosts "$INTERFACE"
|
|
sleep 1
|
|
done
|