#!/bin/sh
#
# an example /etc/ppp/ip-up script for "normal" tcharge mode
#
# other things:
echo interface-name: $1
echo tty-device: $2, speed: $3
echo local-IP-address: $4
echo remote-IP-address: $5
# tcharge:
TCHARGE=/usr/local/bin/tcharge
# File for statistical purpose:
STAT_FILE=$HOME/.telecom
#
if ! $TCHARGE -file $STAT_FILE -geometry +1+1 & then
  echo -e "\a* Can not execute $TCHARGE!" >&2
  exit 1
fi
#
echo -n "Start ppp connection at "
date +%T
