summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh
blob: e1f2b31d957137b0297a3cac6d7f86a3ed507bb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# 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 ] ; then
  export theme_nosplash=0
else
  export theme_nosplash=1
fi

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