#!/bin/sh #---------------------------------------------------------------------------- # /etc/ppp/prefix-up300.logip # # Last Update: $Id$ #---------------------------------------------------------------------------- if [ -f /var/run/logip.conf -a -n "$prefix" ] then . /var/run/logip.conf circuit_read_field $circ_id circ_name sync_lock_resource logip prefix-up300.logip printf "$LOGIP_FORMAT\n" "$(date '+%Y-%m-%d %T (%Z)')" connect "$prefix" "$interface" "$circ_name" "" >> $LOGIP_LOGDIR/logip.log sync_unlock_resource logip prefix-up300.logip fi