Blame SOURCES/set-bmc-url.sh

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