lentferj's projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge from vendor branch SENDMAIL:
[dragonfly.git]
/
share
/
examples
/
sliplogin
/
slip.logout
1
#!/bin/sh -
2
#
3
# slip.logout
4
5
#
6
# logout file for a slip line. sliplogin invokes this with
7
# the parameters:
8
# 1 2 3 4 5 6 7-n
9
# slipunit ttyspeed loginname local-addr remote-addr mask opt-args
10
#
11
/sbin/ifconfig sl$1 delete
12
# Remove the ARP table entry for the host
13
/usr/sbin/arp -d $5
14
exit