summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh
blob: e2f8f0898a7bec8b6e72ca0641bd1fd0670030f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 -qi " quiet " /proc/cmdline > /dev/null 2>&1 \
  && [ $DEBUGLEVEL -eq 0 ] \
  && [ -e /bin/splashy ] ; then
  export theme_nosplash=0
else
  export theme_nosplash=1
fi

[ ${theme_nosplash} -eq 0 ] &&	/bin/splashy boot 2>/dev/null