-- GLUON_FEATURES definition file
--
-- See the page `dev/packages` (Developer Documentation / Package development)
-- in the `docs` directory or on gluon.readthedocs.io for information on the
-- file format


feature('web-wizard', {
	'gluon-config-mode-hostname',
	'gluon-config-mode-geo-location',
	'gluon-config-mode-contact-info',
	'gluon-config-mode-outdoor',
})

when(_'web-wizard' and _'autoupdater', {
	'gluon-config-mode-autoupdater',
})

when(_'web-wizard' and (_'mesh-vpn-fastd' or _'mesh-vpn-tunneldigger' or _'mesh-vpn-wireguard'), {
	'gluon-config-mode-mesh-vpn',
})


feature('web-advanced', {
	'gluon-web-admin',
	'gluon-web-network',
	'gluon-web-wifi-config',
})

when(_'web-advanced' and _'autoupdater', {
	'gluon-web-autoupdater',
})


when(_'mesh-batman-adv-15', {
	'gluon-ebtables-limit-arp',
	'gluon-radvd',
})

when(_'status-page' and _'mesh-batman-adv-15', {
	'gluon-status-page-mesh-batman-adv',
})


when(_'mesh-babel', {
	'gluon-radvd',
})


when(not _'wireless-encryption-wpa3', {
	'hostapd-mini',
})
