mirror of
https://github.com/blazblue547-afk/ForgeOS-ARM64.git
synced 2026-12-02 14:44:17 -05:00
14 lines
343 B
Bash
14 lines
343 B
Bash
#!/bin/sh
|
|||
|
|
|
||
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||
|
|
export PATH
|
||
|
|
|
||
|
|
for tty in /dev/tty0 /dev/tty1 /dev/ttyS0 /dev/console; do
|
||
|
|
[ -w "$tty" ] || continue
|
||
|
|
{
|
||
|
|
echo
|
||
|
|
echo "ForgeOS boot complete: $(uname -r) on $(uname -m)"
|
||
|
|
echo "Root shell is available on tty1 and ttyS0."
|
||
|
|
echo
|
||
|
|
} > "$tty" 2>/dev/null || true
|
||
|
|
done
|