diff options
Diffstat (limited to 'bird/entrypoint.sh')
-rwxr-xr-x | bird/entrypoint.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bird/entrypoint.sh b/bird/entrypoint.sh deleted file mode 100755 index 54aab0d..0000000 --- a/bird/entrypoint.sh +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | PROFILE="$1" | ||
4 | |||
5 | if [ -z "$PROFILE" ]; then | ||
6 | echo "Profile must be specified on the command line" | ||
7 | exit 1 | ||
8 | fi | ||
9 | |||
10 | if [ ! -e "/srv/bird/${PROFILE}.conf" ]; then | ||
11 | echo "Profile '$PROFILE' does not exist" | ||
12 | exit 1 | ||
13 | fi | ||
14 | |||
15 | exec /usr/sbin/bird -d -f -c /srv/bird/${PROFILE}.conf | ||