1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#!/bin/bash
# called by dracut
check() {
return 255
}
# called by dracut
depends() {
echo udev-rules
return 0
}
# called by dracut
installkernel() {
hostonly=$(optional_hostonly) 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
}
|