⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

read_session_preference

Function read_session_preference 

Source
pub fn read_session_preference() -> SessionPreference
Expand description

Read the session preference from /etc/veridian/session.conf.

The config file format is simple key=value lines. We look for session_type=plasma or session_type=builtin. Missing file or unrecognized value defaults to Plasma.