Blame SOURCES/set-bmc-url.sh

e9ef0e
# Export BMC URL
e9ef0e
#
e9ef0e
e9ef0e
BMC_INFO="/var/run/bmc-info"
e9ef0e
e9ef0e
if [ "$(id -u)" = "0" ]; then
e9ef0e
	[ -f ${BMC_INFO} ] && . ${BMC_INFO} && \
e9ef0e
		export "${BMC_URL}" "${BMC_IPv4}" >/dev/null 2>&1
e9ef0e
fi
e9ef0e
e9ef0e
unset BMC_INFO