summarylogtreecommitdiffstats
path: root/smdev.install
diff options
context:
space:
mode:
Diffstat (limited to 'smdev.install')
-rw-r--r--smdev.install12
1 files changed, 9 insertions, 3 deletions
diff --git a/smdev.install b/smdev.install
index c2cc6d104ab1..e8fc4afdb838 100644
--- a/smdev.install
+++ b/smdev.install
@@ -1,8 +1,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
}
- id cdrom &>/dev/null || {
- groupadd usb
- }
+ modprobe_info
+}
+
+post_upgrade() {
+ modprobe_info
}