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 <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-10-03 16:57:13 +01:00
1 parent 42627cc499
commit afb0a7453e
3 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -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)?
-1
View File
@@ -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.
+1 -4
View File
@@ -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