Skip to content

Show booted profile name in MOTD#101

Draft
Yury-MonZon wants to merge 1 commit into
devfrom
motd-profile
Draft

Show booted profile name in MOTD#101
Yury-MonZon wants to merge 1 commit into
devfrom
motd-profile

Conversation

@Yury-MonZon

Copy link
Copy Markdown
Contributor

Derive the active profile from the btrfs subvolume mounted as root (@Desktop, @Router, @TV-Media-Box, @Minimal) and show it as a Profile: line in the MOTD, so it's obvious which profile a session booted into.

Uses findmnt -nro FSROOT /; falls back to unknown on a non-subvolume root.

Derive the active profile from the btrfs subvolume mounted as root
(@desktop, @router, @TV-Media-Box, @minimal) and show it in the MOTD,
so it is obvious which profile a session booted into.
@Yury-MonZon Yury-MonZon requested a review from a team July 1, 2026 14:27
@Yury-MonZon Yury-MonZon self-assigned this Jul 1, 2026
@Yury-MonZon Yury-MonZon marked this pull request as draft July 1, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants