> Would you test if the attached /lib/udev/hdparm does what you want?
>
> > if [ -L $KEY ]
I'm not in a position to test it right now, although looking at it in
context, I think it should work just fine. One comment,
/lib/udev/hdparm is a /bin/sh script which is dash on 8.04 but dash(1)
says -L is only there for old time's sake and -h should be used instead.
> Would you test if the attached /lib/udev/hdparm does what you want?
>
> > if [ -L $KEY ]
I'm not in a position to test it right now, although looking at it in
context, I think it should work just fine. One comment,
/lib/udev/hdparm is a /bin/sh script which is dash on 8.04 but dash(1)
says -L is only there for old time's sake and -h should be used instead.