aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev-init-scripts/udev-init-scripts.post-install
blob: d9f6da17a1ab3b5d5aae9c099591dc12da61da43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if ! [ -e /etc/runlevels/sysinit/udev ]; then
	exit 0
fi

if ! [ /etc/runlevels/sysinit/udev-trigger ]; then
	ln -s /etc/init.d/udev-trigger /etc/runlevels/sysinit/udev-trigger
	# eudev does not work without libkmod, so we fall back to mdev style
	# modalias loading for now
	ln -s /etc/init.d/hwdrivers /etc/runlevels/sysinit/hwdrivers
fi