aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/examples/find_interface/Makefile6
-rw-r--r--share/examples/find_interface/README9
-rw-r--r--share/examples/sliplogin/slip.login12
3 files changed, 0 insertions, 27 deletions
diff --git a/share/examples/find_interface/Makefile b/share/examples/find_interface/Makefile
deleted file mode 100644
index fcc330cc1949..000000000000
--- a/share/examples/find_interface/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# $Id$
-
-PROG= find_interface
-NOMAN=
-
-.include <bsd.prog.mk>
diff --git a/share/examples/find_interface/README b/share/examples/find_interface/README
deleted file mode 100644
index 4df4399cdbc7..000000000000
--- a/share/examples/find_interface/README
+++ /dev/null
@@ -1,9 +0,0 @@
-This is a simple program which demonstrates how to query the kernel
-routing mechanism using only a UDP socket. Pass it a hostname on
-the command line (sorry, it doesn't parse dotted decimal) and it will
-print out an IP address which names the interface over which UDP
-packets intended for that destination would be sent.
-A more sophisticated program might use the list obtained from SIOCGIFCONF
-to match the address with an interface name, but applications programmers
-much more often need to know the address of the interface rather than
-the name.
diff --git a/share/examples/sliplogin/slip.login b/share/examples/sliplogin/slip.login
deleted file mode 100644
index 3c70095a2fcc..000000000000
--- a/share/examples/sliplogin/slip.login
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh -
-#
-# @(#)slip.login 8.1 (Berkeley) 6/6/93
-
-#
-# generic login 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 inet $4 $5 netmask $6
-exit