You can refer to the attachment to write a similiar script. But volmgt
has been removed in the lastest snv, and must modify the related codes.

On Thu, 2006-11-30 at 00:07, Douglas Atique wrote:
> Thanks for the pointer.
> By the way, would you by any chance know how I can write a shell script that 
> gets executed automatically on card insertion to make pppd call (enabling 
> sppp0) and another one that gets executed on card removal to disable the 
> sppp0 interface?
> I would like it to connect automatically as soon as I insert the card and 
> detect that the card was removed so that the network interface gets cleaned 
> up properly. (That would be the WWAN analog of the /etc/hostname.xxx0 
> ethernet interface configuration...)
> 
> -- Douglas
> 
> > You can try acm driver by the following address:
> > http://www.opensolaris.org/os/project/wwan
>  
> 
> This message posted from opensolaris.org
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vold.sh
Type: application/x-shellscript
Size: 1088 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/laptop-discuss/attachments/20061130/eb97ee76/attachment.bin>

Reply via email to