From 283c1390e51102e99b28ff12bd115b1fbb4fee60 Mon Sep 17 00:00:00 2001 From: watermeko Date: Fri, 4 Sep 2026 02:40:06 +0000 Subject: [PATCH] feat(shell): add informative SSH prompt Create a default root profile when one does not already exist. Show the user, hostname, and working directory while preserving custom profiles. --- kvmapp/system/init.d/S95nanokvm | 1 + 1 file changed, 1 insertion(+) diff --git a/kvmapp/system/init.d/S95nanokvm b/kvmapp/system/init.d/S95nanokvm index 38d2197..342643a 100755 --- a/kvmapp/system/init.d/S95nanokvm +++ b/kvmapp/system/init.d/S95nanokvm @@ -76,6 +76,7 @@ start_services() { case "$1" in start) echo -n kvm > /boot/hostname.prefix + [ -e /root/.profile ] || printf '%s\n' 'export PS1="\u@\h:\w# "' > /root/.profile # Copy sensor config if the file exists [ -f /mnt/data/sensor_cfg.ini.LT ] && cp /mnt/data/sensor_cfg.ini.LT /mnt/data/sensor_cfg.ini