mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Lakka) Fix samba and bluetooth service management
This commit is contained in:
parent
f9462ed562
commit
bede7cfe2b
@ -3164,7 +3164,7 @@ static void samba_enable_toggle_change_handler(void *data)
|
||||
{
|
||||
bool enable = false;
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (settings && settings->ssh_enable)
|
||||
if (settings && settings->samba_enable)
|
||||
enable = true;
|
||||
|
||||
systemd_service_toggle(LAKKA_SAMBA_PATH, (char*)"smbd.service",
|
||||
@ -3175,7 +3175,7 @@ static void bluetooth_enable_toggle_change_handler(void *data)
|
||||
{
|
||||
bool enable = false;
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (settings && settings->ssh_enable)
|
||||
if (settings && settings->bluetooth_enable)
|
||||
enable = true;
|
||||
|
||||
systemd_service_toggle(LAKKA_BLUETOOTH_PATH, (char*)"bluetooth.service",
|
||||
|
Loading…
x
Reference in New Issue
Block a user