1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-13 01:33:45 +01:00
OpenVoiceOS/buildroot-external/rootfs-overlay/etc/init.d/S00asplash
Peter Steenbergen 0d1ea12fc0 MycroftOS: Show a boot splash as early as possible in the bootproces
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
2018-11-06 13:59:01 +01:00

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 $?