User Tools

Site Tools


udev_scripting


udev shenanigans

Kicking off scripts with udev rules

yubikey

/etc/udev/rules.d/10-startstopkismet.rules

ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="/bin/bash /root/start-kismet.sh"
ACTION=="remove", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="/bin/bash /root/stop-kismet.sh"
udev_scripting.txt ยท Last modified: 2024/11/14 02:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki