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