Custom script on button

Hello there!

I’m trying to create new script to toggle WiFi power on My Passport Wireless Pro device.
The problem is, I’m not really sure where can I listen/create/add on buttons event (I’m talking about SSH access).

Any hints?

Cheers, and happy new year!


I would recommend you to please check the compatibility of my passport wireless.
You can see this KBA-

Hi there @Logan.S!

I’m not sure if you understand what I’m asking for :slight_smile:
I’m willing to make custom script to disable WiFi using button, for that I need to “catch” an action of button pressing from linux OS. And that’s the thing I’m looking for.