summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/Theme/init-hooks/05-have-kernelvars/Theme.sh
blob: c2d4551a8da2521ad59311e001b167755abdfd3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# splashy stuff seems to depend on /proc/fb with VESA!?
# only activate with kernel option quiet
if grep -E "(VESA|VGA)" /proc/fb > /dev/null 2>&1 \
  && grep -qi " quiet " /proc/cmdline > /dev/null 2>&1; then
  export Theme_nosplash=0
else
  export Theme_nosplash=1
fi

[ ${Theme_nosplash} = 0 ] && /bin/splashy boot 2>/dev/null