[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Stopping USB drives from XY4 - Script



** Reply to message from Paul Breeze  on Fri, 30
Dec 2005 17:16:28 GMT


> It fails in the third line: key(WT{1000}L1WT{500}JW{Ut161
> USB2FlashStorage})KEY(WT{500}RD)key(IF{TD=Ut161:G2})key(JW{Unplug or Eject
> Hardware}CDG1L2)

Well, then copy that line, duplicate it after the line that hits the Stop
button (where apparently it does apply), and then change the first instance of
this line from what I thought you said it said, to what it *does* say! E.g.
change it to:

key(WT{1000}L1WT{500}JW{USB Mass Storage Device})KEY(WT{500}RD)key(IF{TD=USB
Mass:G2})key(JW{Unplug or Eject Hardware}CDG1L2)

Then change the second instance to:

key(WT{1000}L1WT{500}JW{Ut161
USB2FlashStorage})KEY(WT{500}RD)key(IF{TD=Ut161:G2})key(JW{Stop a Hardware
device}CDG1L2)

Or something like that... There's a manual. It's all pretty simple.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------