#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
	# Register with Streamlit Forge
	if [ -x /usr/sbin/slforge ]; then
		/usr/sbin/slforge register control --name "SecuBox Control" --port 8531 --path /usr/share/streamlit-control --entry app.py 2>/dev/null || true
	fi
}
exit 0
