summaryrefslogtreecommitdiffstats
path: root/share/examples/sliplogin/slip.logout
blob: b27fe09d0999c14770c8fe1231a4c0919afd999b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
OpenPOWER on IntegriCloud