summarylogtreecommitdiffstats
path: root/smdev.install
diff options
context:
space:
mode:
authorPlaton Ryzhikov2021-09-13 11:38:48 +0300
committerPlaton Ryzhikov2021-09-13 11:39:45 +0300
commitd46cfb42a5936550467fd2cc5c93e95bb0260755 (patch)
tree45a1d3f8c24ad85c01b23bf6809a8bf672d3c624 /smdev.install
parente88d1cddec9d9d18611fad277ef55aa6661c5bdc (diff)
downloadaur-d46cfb42a5936550467fd2cc5c93e95bb0260755.tar.gz
update to 0.2.3-10
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
}