feat(dbus): Add Wi-Fi configuration support to the system config
Introduces the `configure_wifi` function to handle Wi-Fi actions such as enabling, disabling, and checking status. Updates the `ieee80211` feature to use the new function, integrating Wi-Fi management into the existing configuration framework.
This commit is contained in:
@@ -12,6 +12,7 @@ from .revpi_config import (
|
||||
configure_dphys_swapfile,
|
||||
configure_external_antenna,
|
||||
configure_gui,
|
||||
configure_wifi,
|
||||
simple_systemd,
|
||||
)
|
||||
from ..dbus_helper import DbusInterface
|
||||
@@ -92,7 +93,7 @@ AVAILABLE_FEATURES = {
|
||||
),
|
||||
"revpipyload": FeatureFunction(simple_systemd, ["revpipyload.service"]),
|
||||
"bluetooth": False,
|
||||
"ieee80211": False,
|
||||
"ieee80211": FeatureFunction(configure_wifi, []),
|
||||
"avahi": FeatureFunction(configure_avahi_daemon, []),
|
||||
"external-antenna": FeatureFunction(configure_external_antenna, []),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user