Escape backslashes in /etc/issue to prevent unwanted newlines (#2797)

This commit is contained in:
Mariusz Kogen
2024-12-10 17:55:20 +01:00
committed by GitHub
parent 1859c0505e
commit c675d0feee

2
debian/postinst vendored
View File

@@ -26,7 +26,7 @@ if [ -f /etc/default/grub ]; then
fi
# set local and remote login prompt
echo "StartOS v$(cat /usr/lib/startos/VERSION.txt) [\m] on \n.local (\l)" > /etc/issue
echo "StartOS v$(cat /usr/lib/startos/VERSION.txt) [\\m] on \\n.local (\\l)" > /etc/issue
echo "StartOS v$(cat /usr/lib/startos/VERSION.txt)" > /etc/issue.net
# change timezone