summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocker/alpine/docker-start14
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/alpine/docker-start b/docker/alpine/docker-start
index c20df42e8..698f4f93c 100755
--- a/docker/alpine/docker-start
+++ b/docker/alpine/docker-start
@@ -1,4 +1,18 @@
#!/bin/ash
+if [ -r "/lib/lsb/init-functions" ]; then
+ . /lib/lsb/init-functions
+else
+ log_success_msg() {
+ echo "$@"
+ }
+ log_warning_msg() {
+ echo "$@" >&2
+ }
+ log_failure_msg() {
+ echo "$@" >&2
+ }
+fi
+
source /usr/lib/frr/frrcommon.sh
/usr/lib/frr/watchfrr $(daemon_list)