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