summarylogtreecommitdiffstats
path: root/smdev.install
blob: e8fc4afdb838fed5a29457dcf957adcb234ad23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
modprobe_info() {
	echo "00-modprobe is placed in /etc/smdev. If you want smdev to handle MODALIAS (e.g. it is not handled on higher level), add this script to /etc/smdev/add"
}

post_install() {
	id cdrom &>/dev/null || {
		groupadd cdrom
	}
	modprobe_info
}

post_upgrade() {
	modprobe_info
}