summaryrefslogtreecommitdiff
path: root/packages/ppp-dsl/files/ppp_on_boot.dsl
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 19:23:03 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2008-01-17 19:23:03 +0000
commit5f89da2c9521b9bff73a34b933929c1767c454ae (patch)
treea6eb507e8e20dbbc500655ea515ece4cb5500bd9 /packages/ppp-dsl/files/ppp_on_boot.dsl
parent1bf5c3346ac395825d49f895922a61bcdbb238e5 (diff)
parent3c378f37f55ee00c41fce4897f8a09cb51b59f94 (diff)
merge of '15abe433106a3416f43fe1507eb0032a960434bb'
and '2538d8c9c6f9647baba548394a1e20a2e4467a19'
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