#!/bin/sh # $Id$ # Name: eaglestat # Goal: display modem state # Author: ? if [ -d /proc/driver/eagle-usb ] ; then if ls /proc/driver/eagle-usb/* >/dev/null 2>&1; then cat /proc/driver/eagle-usb/* else echo "Pre-firmware device" fi else echo "eagle-usb driver not loaded" exit 1 fi