diff options
author | Quentin Young <qlyoung@nvidia.com> | 2021-08-30 21:21:32 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@nvidia.com> | 2021-08-30 21:21:32 +0200 |
commit | 6793327f48df6818001c1cff21d84661eca3b778 (patch) | |
tree | bc6fc97c20d45eabc119068343ecc2760479c78e /docker | |
parent | docker: build libyang2 along with FRR (diff) | |
download | frr-6793327f48df6818001c1cff21d84661eca3b778.tar.xz frr-6793327f48df6818001c1cff21d84661eca3b778.zip |
docker: add expected log functions to alpine docker-start
Some basic functions are required by frrcommon.sh
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/alpine/docker-start | 14 |
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) |