#!/bin/sh

# Wait for modem "operational" state:
/usr/sbin/adictrl -s

# Get the ADI network interface name:
INTERFACE=`/usr/sbin/adictrl -i`

# Configure the ADI network interface:
/sbin/ifconfig $INTERFACE up

# Start pppd:
/usr/sbin/pppd call eagle-mire pty "/usr/sbin/pppoa -I $INTERFACE"
