kopia lustrzana https://github.com/F5OEO/rpidatv
Display Splash Screen on Menu Start
rodzic
e8317ec0c0
commit
cf1739311d
|
@ -81,6 +81,8 @@ elif [ $RET -eq 0 ]; then
|
|||
fi
|
||||
}
|
||||
|
||||
############ Function to Select Paths ###############
|
||||
|
||||
Pathbrowser() {
|
||||
if [ -z $1 ]; then
|
||||
imgpath=$(ls -lhp / | awk -F ' ' ' { print $9 " " $5 } ')
|
||||
|
@ -994,7 +996,12 @@ menuchoice=$(whiptail --title "Shutdown Menu" --menu "Select Choice" 16 78 7 \
|
|||
esac
|
||||
}
|
||||
|
||||
|
||||
display_splash()
|
||||
{
|
||||
sudo killall fbcp
|
||||
fbcp &
|
||||
sudo fbi -T 1 -noverbose -a $PATHSCRIPT"/images/BATC_Black.png"
|
||||
}
|
||||
|
||||
OnStartup()
|
||||
{
|
||||
|
@ -1028,6 +1035,10 @@ else
|
|||
source $PATHSCRIPT"/langfr.sh"
|
||||
fi
|
||||
|
||||
# Display Splash on Touchscreen if fitted
|
||||
|
||||
display_splash
|
||||
|
||||
status="0"
|
||||
|
||||
if [ "$1" != "menu" ]; then # if tx on boot
|
||||
|
|
Ładowanie…
Reference in New Issue