mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-13 01:33:45 +01:00
0d1ea12fc0
A clean "empty splash.png at boot however the same fbv code can be used later on in the develoment and proces to show the user where in the boot / configuration proces we are at. - "Connect to wifi SSID" user information for the wifi configuration - But also possible other cofiguration step later on in the wizard
23 lines
309 B
Bash
Executable File
23 lines
309 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Loading boot splash
|
|
#
|
|
|
|
start() {
|
|
printf "Loading boot splash ..."
|
|
cat /dev/zero 1> /dev/fb0 2>/dev/null
|
|
fbv -f -d 1 /opt/mycroft/splash/boot.png > /dev/null 2>&1
|
|
echo "[OK]"
|
|
}
|
|
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|