freebsd-dev/share/examples/sliplogin/slip.logout

15 lines
346 B
Plaintext
Raw Normal View History

#!/bin/sh -
#
# slip.logout
#
# logout file for a slip line. sliplogin invokes this with
# the parameters:
# 1 2 3 4 5 6 7-n
# slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig sl$1 delete
# Remove the ARP table entry for the host
/usr/sbin/arp -d $5
exit