summaryrefslogtreecommitdiffstats
path: root/modules.d/90pcmcia
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 14:01:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 14:01:37 +0000
commit734d725d62d2cbe4445524448de024e3b9e7f4b3 (patch)
tree88d8385f24a0efda248b3480fe39037b85e76552 /modules.d/90pcmcia
parentReleasing progress-linux version 060+5-8~progress7.99u1. (diff)
downloaddracut-734d725d62d2cbe4445524448de024e3b9e7f4b3.tar.xz
dracut-734d725d62d2cbe4445524448de024e3b9e7f4b3.zip
Merging upstream version 102.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules.d/90pcmcia')
-rwxr-xr-xmodules.d/90pcmcia/module-setup.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules.d/90pcmcia/module-setup.sh b/modules.d/90pcmcia/module-setup.sh
new file mode 100755
index 0000000..b11e8f1
--- /dev/null
+++ b/modules.d/90pcmcia/module-setup.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+# called by dracut
+check() {
+ return 0
+}
+
+# called by dracut
+depends() {
+ echo udev-rules
+ return 0
+}
+
+# called by dracut
+installkernel() {
+ instmods pcmcia \
+ "=drivers/pcmcia"
+}
+
+# called by dracut
+install() {
+ inst_rules 60-pcmcia.rules
+
+ inst_multiple -o \
+ "${udevdir}"/pcmcia-socket-startup \
+ "${udevdir}"/pcmcia-check-broken-cis
+
+ # Install the hosts local user configurations if enabled.
+ if [[ $hostonly ]]; then
+ inst_multiple -H -o \
+ /etc/pcmcia/config.opts
+ fi
+}