mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
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>
This commit is contained in:
parent
661d41c183
commit
6793327f48
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue