#! /bin/sh case $1 in on) if [ ! -r /etc/i4l.conf ] then echo "Cannot read /etc/i4l.conf" else . /etc/i4l.conf fi # Dial in $ISDNCTRL dial ippp0 ;; off) if [ ! -r /etc/i4l.conf ] then echo "Cannot read /etc/i4l.conf" else . /etc/i4l.conf fi # Hang up $ISDNCTRL hangup ippp0 ;; *) echo -e "\a Usage: 'isdn on' or 'isdn off'" ;; esac