Skip to content

Commit

Permalink
Merge branch 'next/minor' of github.com:Start9Labs/start-os into upda…
Browse files Browse the repository at this point in the history
…te/sdk-comments
  • Loading branch information
MattDHill committed Nov 28, 2024
2 parents 0ff31e3 + 12dec67 commit e515139
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ fi
update-initramfs -u -k all

if [ -f /etc/default/grub ]; then
sed -i '/\(^\|#\)GRUB_CMDLINE_LINUX=/c\GRUB_CMDLINE_LINUX="boot=startos"' /etc/default/grub
sed -i '/\(^\|#\)GRUB_CMDLINE_LINUX=/c\GRUB_CMDLINE_LINUX="boot=startos console=ttyS0,115200n8"' /etc/default/grub
sed -i '/\(^\|#\)GRUB_DISTRIBUTOR=/c\GRUB_DISTRIBUTOR="StartOS v$(cat /usr/lib/startos/VERSION.txt)"' /etc/default/grub
sed -i '/\(^\|#\)GRUB_TERMINAL=/c\GRUB_TERMINAL="serial"\nGRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"' /etc/default/grub
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)" > /etc/issue.net

# change timezone
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime
Expand Down

0 comments on commit e515139

Please sign in to comment.