41e81fe4f0
Instead of a blank screen with a tty login prompt, show a proper shutdown screen during poweroff or reboot.
12 lines
273 B
Bash
12 lines
273 B
Bash
#!/bin/sh
|
|
|
|
VT=7
|
|
|
|
# Retrieve device name
|
|
source /etc/deviceinfo
|
|
|
|
# Run on separate VT to avoid interference of display managers
|
|
chvt "$VT"
|
|
|
|
# Run splash
|
|
pbsplash -s /usr/share/pbsplash/pmos-logo-text.svg -b "Linux $(uname -r) | $deviceinfo_codename" -m "Shutting down..." &
|