summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-splash/module-setup.sh
blob: 055422692f0ed99398757641bb41c1edb2444415 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
check() {
	# Tell dracut that this module should only be included if it is required
	# explicitly.
	return 255
}
depends() {
	echo slx-drm
}
install() {
	cp "$moddir/data/splash.ppm.gz" "$initdir/etc/splash.ppm.gz"
	inst_hook pre-trigger 10 "$moddir/scripts/slx-splash.sh"
	inst_hook pre-pivot 20 "$moddir/scripts/restore-cursor.sh"
}