# srunc — srun (深澜) captive-portal auth. Most users only need username +
# password; host and ac_id are auto-discovered from the captive redirect.
# Add more `config srunc '<name>'` sections to run multiple instances.

config globals 'globals'
	option enabled '1'

config srunc 'default'
	option enabled '1'
	option username ''
	option password ''
	# Deployment profile id (`srunc profiles list`); blank = captive-portal
	# auto-discovery.
	option profile ''
	# --- overrides (leave blank for auto-discovery + profile) ---
	# option host ''
	# option ac_id ''
	# option insecure '0'       # http:// instead of https://
	# option timeout '2'        # HTTP request timeout, seconds
	# --- keepalive (login -k) ---
	option keepalive '1'
	option campus_only '0'      # probe in-campus URL for keepalive (avoids billing)
	option interval '3'
	option retry '2'
