Hi
I want run script USB is plugged.
/etc/rc.d/lte.sh
Have a look at this https://www.freebsd.org/cgi/man.cgi?devd.conf
Bart...
devd uses plugin directories which we use as well, e.g. https://github.com/opnsense/core/blob/master/src/etc/devd/ifnet.conf
So you want to find out which even you want to look for and create your own file, e.g. /usr/local/etc/devd/lte.conf
Cheers,
Franco
Thanks for your advice
Works great :)
notify 100 {
match "ugen" "ugen0.3";
action "/etc/rc.d/lte.sh";
};
Great stuff, thanks for sharing the answer with us. :)
Cheers,
Franco