diff options
author | Platon Ryzhikov | 2021-09-13 11:38:48 +0300 |
---|---|---|
committer | Platon Ryzhikov | 2021-09-13 11:39:45 +0300 |
commit | d46cfb42a5936550467fd2cc5c93e95bb0260755 (patch) | |
tree | 45a1d3f8c24ad85c01b23bf6809a8bf672d3c624 /smdev.install | |
parent | e88d1cddec9d9d18611fad277ef55aa6661c5bdc (diff) | |
download | aur-d46cfb42a5936550467fd2cc5c93e95bb0260755.tar.gz |
update to 0.2.3-10
Diffstat (limited to 'smdev.install')
-rw-r--r-- | smdev.install | 12 |
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 } |