#!/bin/sh
#------------------------------------------------------------------------------
# /etc/ppp/ip-up.cgiconfig2
#
# Simply creates the file /var/run/cgiconfig2_ip containing the router-ip
# when online
#
# Creation:     26.12.2001  dhr
# Last Update:  08.06.2004  benjamin h. <bosborros at web dot de>
#------------------------------------------------------------------------------

echo "initializing cgiconfig2..."

echo $local > /var/run/cgiconfig2_ip


if [ -f /tmp/cgiconfig2.save ]
then
  wanip=`cat /var/run/cgiconfig2_ip`

  echo 'cgiconfig2: done'
fi