summaryrefslogblamecommitdiffstats
path: root/os-plugins/plugins/bootsplash/init-hooks/05-have-kernelvars/bootsplash.sh
blob: 6ccbd9f02004148e8e20ce955b9c0c452477db4f (plain) (tree)
1
2
3
4
5
6
7


                                                          

                                                                      

                               




                                                                    
  
# splashy depends on /proc/fb with VESA
# only activate with kernel option quiet and no debuglevel
if grep -E "(VESA|VGA)" /proc/fb > /dev/null 2>&1 \
  && grep -qie " quiet " -qie "^quiet " -qie " quiet$" /proc/cmdline \
    > /dev/null 2>&1 \
  && [ $DEBUGLEVEL -eq 0 ] \
  && [ -e /bin/splashy ] ; then
    echo "we have bootsplash" >/tmp/bootsplash
    /bin/splashy boot 2>/dev/null
    # add splashy.stop runlevel script (does not work any more here,
    # temporarily moved to init awaiting a proper solution)
    #D_SPLASHY=splashy.stop
fi