mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
Merge pull request #2933 from lakkatv/master
(Lakka) Fix samba and bluetooth service management
This commit is contained in:
commit
01c59cf0eb
@ -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…
Reference in New Issue
Block a user