repo.or.cz
/
freebsd-src
/
fkvm-freebsd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
turns printfs back on
[freebsd-src/fkvm-freebsd.git]
/
share
/
examples
/
sliplogin
/
slip.logout
blob
b27fe09d0999c14770c8fe1231a4c0919afd999b
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