aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ppp-dsl/files/ppp_on_boot.dsl
blob: f1d5183b384f086937dd115825f2857faa6c9c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#

# The location of the ppp daemon itself (shouldn't need to be changed)
PPPD=/usr/sbin/pppd

# The Ethernet interface the DSL modem is connected to. If you change this, 
# you also need to edit the file /etc/ppp/peers/dsl-provider.
INTERFACE=eth0

# Bring the interface up
/sbin/ifconfig $INTERFACE up

$PPPD call dsl-provider