#!/bin/sh # # Set up slip interface after successful login # # $Id: slip.logout,v 1.1 2006/05/28 21:08:34 hauke Exp $ # Copy parameters interface=sl${1} ifspeed=${2} login=${3} this_host=${4} other_host=${5} netmask=${6} opt_arg1=${7} opt_arg2=${8} /sbin/ifconfig ${interface} delete # Remove proxy arp for our guest /usr/sbin/arp -d ${other_host} echo "Slip connection down." | logger -s exit 0