MMCT TEAM
Server IP : 2a02:4780:11:1361:0:bf7:7935:10  /  Your IP : 3.131.128.72
Web Server : LiteSpeed
System : Linux in-mum-web1261.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u200767797 ( 200767797)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /lib/frr/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/frr/watchfrr.sh
#!/bin/bash
#
# This is NOT the init script!  This is the watchfrr start/stop/restart
# command handler, passed to watchfrr with the -s/-r/-k commands.  It is used
# internally by watchfrr to start the protocol daemons with the appropriate
# options.
#
# This script should be installed in  /usr/lib/frr/watchfrr.sh

log_success_msg() {
	:
}

log_warning_msg() {
	echo "$@" >&2
	[ -x /usr/bin/logger ] && echo "$@" \
		| /usr/bin/logger -t watchfrr.sh -p daemon.warn
}

log_failure_msg() {
	echo "$@" >&2
	[ -x /usr/bin/logger ] && echo "$@" \
		| /usr/bin/logger -t watchfrr.sh -p daemon.err
}

self="`dirname $0`"
if [ -r "$self/frrcommon.sh" ]; then
	. "$self/frrcommon.sh"
else
	. "/usr/lib/frr/frrcommon.sh"
fi

frrcommon_main "$@"

MMCT - 2023