From afb0a7453e4ecebe4b59f9c1b5f8d5413fb652f2 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 2 Oct 2026 00:37:26 +0100 Subject: [PATCH] kmscon: drop the enabled option Whether a service runs at boot is already expressed by its rc.d symlink, which service enable and service disable maintain. A UCI option saying the same thing is a second source of truth that disagrees with the first as soon as either is touched on its own. Signed-off-by: Daniel Golle --- utils/kmscon/Makefile | 2 +- utils/kmscon/files/kmscon.config | 1 - utils/kmscon/files/kmscon.init | 5 +---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/utils/kmscon/Makefile b/utils/kmscon/Makefile index c6b486b..3fdef71 100644 --- a/utils/kmscon/Makefile +++ b/utils/kmscon/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kmscon PKG_VERSION:=10.0.3 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/kmscon/kmscon/tar.gz/v$(PKG_VERSION)? diff --git a/utils/kmscon/files/kmscon.config b/utils/kmscon/files/kmscon.config index 93922a1..decff6f 100644 --- a/utils/kmscon/files/kmscon.config +++ b/utils/kmscon/files/kmscon.config @@ -1,5 +1,4 @@ config kmscon 'main' - option enabled '1' option term 'xterm-256color' option font_size '14' # pango and freetype are not built; 8x16 is built in, psf is a module. diff --git a/utils/kmscon/files/kmscon.init b/utils/kmscon/files/kmscon.init index c492570..97515a0 100644 --- a/utils/kmscon/files/kmscon.init +++ b/utils/kmscon/files/kmscon.init @@ -4,12 +4,9 @@ USE_PROCD=1 START=96 start_service() { - local enabled term font_size font_engine hwaccel login seats + local term font_size font_engine hwaccel login seats config_load kmscon - config_get_bool enabled main enabled 0 - [ "$enabled" = 1 ] || return 0 - config_get term main term xterm-256color config_get font_size main font_size 14 config_get font_engine main font_engine 8x16