From 1d7d50cf233b5097a3ad61e1ff01e66d12304721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 5 Apr 2022 23:16:30 +0200 Subject: [PATCH] gluon-setup-mode: use gluon-enter-setup-mode --- .../files/etc/hotplug.d/button/50-gluon-setup-mode | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/gluon-setup-mode/files/etc/hotplug.d/button/50-gluon-setup-mode b/package/gluon-setup-mode/files/etc/hotplug.d/button/50-gluon-setup-mode index 314f8a43..83c0aa2d 100755 --- a/package/gluon-setup-mode/files/etc/hotplug.d/button/50-gluon-setup-mode +++ b/package/gluon-setup-mode/files/etc/hotplug.d/button/50-gluon-setup-mode @@ -6,9 +6,7 @@ wait=3 wait_setup_mode() { sleep $wait - uci set 'gluon-setup-mode.@setup_mode[0].enabled=1' - uci commit gluon-setup-mode - reboot + gluon-enter-setup-mode }