#!/bin/sh

echo "STOPPED" > /var/run/adiusbadsl

# Stop pppd:
killall -9  pppd
rm -f /var/run/ppp*

# Get the ADI network interface name:
INTERFACE=`/usr/sbin/adictrl -i`
if [ $? == 0 ] ; then
	# Remove the ADI network interface:
	ifconfig $INTERFACE down
fi


