LL_Runit_Scripts/sv/plymouth-halt/run
2021-06-24 14:35:35 +08:00

7 lines
232 B
Bash
Executable file

#!/bin/sh
sv start lightdm plymouth-start getty@tty1
set -e
( ! grep plymouth.enable=0 /proc/cmdline )
( ! grep nosplash /proc/cmdline )
grep splash /proc/cmdline
exec /sbin/plymouthd --no-daemon --mode=shutdown --attach-to-session