tags 361673 + patch pending confirmed thanks I'll try to get this patch into the 1.13 release. Did you hear that Bernard? :)
--- scriptlets.d/pcmcia.orig 2006-06-04 18:02:56.931306831 +0200
+++ scriptlets.d/pcmcia 2006-06-04 18:04:41.509112261 +0200
@@ -4,15 +4,23 @@
AddConfigHandler PCMCIAOptions
AddConfigHelp "EjectCards <boolean> " "Eject all PCMCIA cards before
suspending, and insert them again after resuming"
+cardctl_() {
+ if [ -x $(command -v pccardctl 2>/dev/null) ]; then
+ # the new way
+ pccardctl $@
+ else
+ carctl $@
+ fi
+
PCMCIAEject() {
vecho 1 "$EXE: Ejecting PCMCIA cards"
- cardctl eject
+ cardctl_ eject
return 0
}
PCMCIAInsert() {
vecho 1 "$EXE: Inserting PCMCIA cards $i"
- cardctl insert
+ cardctl_ insert
return 0
}
--
Please do not send copies of list mail to me; I read the list!
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer and author: http://debiansystem.info
`. `'`
`- Debian - when you have better things to do than fixing a system
signature.asc
Description: Digital signature (GPG/PGP)

