aboutsummaryrefslogtreecommitdiff
path: root/bird/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bird/entrypoint.sh')
-rwxr-xr-xbird/entrypoint.sh15
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
3PROFILE="$1"
4
5if [ -z "$PROFILE" ]; then
6 echo "Profile must be specified on the command line"
7 exit 1
8fi
9
10if [ ! -e "/srv/bird/${PROFILE}.conf" ]; then
11 echo "Profile '$PROFILE' does not exist"
12 exit 1
13fi
14
15exec /usr/sbin/bird -d -f -c /srv/bird/${PROFILE}.conf