On Mon, 29 Mar 2010 11:25:12 Solor Vox wrote:
> I'd suggest using a udev rule that runs simple script to enable/disable
> your tty.  All you'd need to do is match your modem in a udev rule and
> call a script to change your inittab.
> 
> That way it only runs if/when the modem is plugged-in.
> 
> Cheers,
> sV
> 
This sounds like a good solution - could you possibly give me a pointer on how 
to write the udev rule, because I haven't done this before? When the modem is 
plugged in the device is /dev/ttyACM0, and the driver module is cdc_acm. 

Will this run as root, because the script would need to patch /etc/inittab and 
then call 'telinit q'?

Tom

Reply via email to