aboutsummaryrefslogtreecommitdiffstats
path: root/ppp-dsl/ppp_on_boot.dsl
diff options
context:
space:
mode:
Diffstat (limited to 'ppp-dsl/ppp_on_boot.dsl')
-rw-r--r--ppp-dsl/ppp_on_boot.dsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/ppp-dsl/ppp_on_boot.dsl b/ppp-dsl/ppp_on_boot.dsl
index e69de29bb2..f1d5183b38 100644
--- a/ppp-dsl/ppp_on_boot.dsl
+++ b/ppp-dsl/ppp_on_boot.dsl
@@ -0,0 +1,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