if [ -f /etc/rc.d/init.d/operns-functions ]; then
    source /etc/rc.d/init.d/operns-functions
fi

# All logic in this file is specific to XR processes and should not be
# invoked in non-XRNNS (app hosting) environments.
declare -F in_xrnns &>/dev/null && in_xrnns
if [ "$?" -eq 0 ]; then
export LIBVIRT_DEFAULT_URI=lxc+tcp://192.0.0.1:16509
source /pkg/etc/xr_startup_envs.sh
fi

