mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Escape backslashes in /etc/issue to prevent unwanted newlines (#2797)
This commit is contained in:
2
debian/postinst
vendored
2
debian/postinst
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user