Initial Go project built with Bubble Tea and Lip Gloss: - Live preview and management of /etc/update-motd.d scripts - Embedded presets (ubuntu-default, minimal, server-dashboard) - Bundled POSIX sh style scripts (brand header, sysinfo panel, footer) - Snapshot/restore safety around applying changes - CLI subcommands preview, apply, restore, list-presets - Unit tests for detect, sanitize, and apply logic
6 lines
145 B
Go
6 lines
145 B
Go
//go:build !unix
|
|
|
|
package motd
|
|
|
|
// IsRoot ist auf Nicht-Unix-Plattformen immer false (Zielsystem ist Linux).
|
|
func IsRoot() bool { return false }
|