summarylogtreecommitdiffstats
path: root/game-devices-udev.install
blob: c32f7d57892038404b734090a1cf749b40a718c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install()
{
	## Load uinput if it is not loaded already
	grep -q 'uinput' /proc/modules
	if [ ! $? -eq 0 ] && [ -d "/lib/modules/$(uname -r)" ]
		then
			modprobe uinput
	fi
}

post_upgrade()
{
    post_install
}