Hello,
What is the system's flag to detect the presence and absence of a usb modem that gets up on /dev/ttyACM0 when plugged in?
I need to put that line in a cron based script running every minute to automatically trigger a dialup connection whenever a usb modem is plugged in and shut it down whenever it is pulled out. The recent flood on 'visarjan' day has knocked out my client's telephone lines and triband too has stopped after the 24 hour period. I don't want to give any admin access to the users. Whenever triband will be down, this usb modem will be their alternate connection. Simply plug it in and use. I only need the line to check for the presence and absence of a usb modem on ttyACM0.
Any help will be highly appreciated. In the meantime I am already checking up google but no results so far.