summaryrefslogtreecommitdiff
path: root/packages/ppp-dsl
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ppp-dsl')
-rw-r--r--packages/ppp-dsl/.mtn2git_empty0
-rwxr-xr-x[-rw-r--r--]packages/ppp-dsl/ppp_on_boot.dsl14
2 files changed, 14 insertions, 0 deletions
diff --git a/packages/ppp-dsl/.mtn2git_empty b/packages/ppp-dsl/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ppp-dsl/.mtn2git_empty
diff --git a/packages/ppp-dsl/ppp_on_boot.dsl b/packages/ppp-dsl/ppp_on_boot.dsl
index e69de29bb2..f1d5183b38 100644..100755
--- a/packages/ppp-dsl/ppp_on_boot.dsl
+++ b/packages/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