aboutsummaryrefslogtreecommitdiff
path: root/share/examples/startslip/slup.sh
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2009-12-29 20:20:51 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2009-12-29 20:20:51 +0000
commit5689f92fb092453c93976931baf177c135e6f3bd (patch)
tree1180d019906c80924545b4832911cc0be7ec973a /share/examples/startslip/slup.sh
parentdc1c6863fa1522a0f0a963f0b0c6d707b8ed8843 (diff)
Remove examples for pppd and SLIP-related stuff.
Notes
Notes: svn path=/head/; revision=201213
Diffstat (limited to 'share/examples/startslip/slup.sh')
-rwxr-xr-xshare/examples/startslip/slup.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/share/examples/startslip/slup.sh b/share/examples/startslip/slup.sh
deleted file mode 100755
index 79cded339558..000000000000
--- a/share/examples/startslip/slup.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-myname=<my.ip.address>
-gateway=<gateway.ip.address>
-netmask=255.255.255.248
-tune1="link0 -link2" # force headers compression
-tune2="mtu 296" # for FreeBSD 1.x host
-
-case $LINE in
- 0) tune=$tune1;; # 1st phone connected
- 1) tune=$tune2;; # 2nd phone connected
- *) tune=;; # others
-esac
-
-/sbin/ifconfig $1 $2 $tune
-/sbin/ifconfig $1 inet $myname $gateway netmask $netmask
-/sbin/route add default $gateway