diff options
Diffstat (limited to 'ppp-dsl/ppp-dsl_0.1.oe')
-rw-r--r-- | ppp-dsl/ppp-dsl_0.1.oe | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ppp-dsl/ppp-dsl_0.1.oe b/ppp-dsl/ppp-dsl_0.1.oe index e69de29bb2..938b9ec963 100644 --- a/ppp-dsl/ppp-dsl_0.1.oe +++ b/ppp-dsl/ppp-dsl_0.1.oe @@ -0,0 +1,28 @@ +SECTION = "console/network" +DESCRIPTION = "Enables PPP dial-in through a DSL connection" +MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" +LICENSE = "PD" +DEPENDS = "ppp rp-pppoe" +RDEPENDS = "ppp rp-pppoe kernel-module-ppp-async kernel-module-ppp-generic kernel-module-slhc" +PR = "r1" + +SRC_URI = "file://dsl-provider \ + file://ppp_on_boot.dsl" + +do_install() { + install -d ${D}/${sysconfdir}/ppp/peers + install -m 0644 ${WORKDIR}/dsl-provider ${D}/${sysconfdir}/ppp/peers/ + install -m 0755 ${WORKDIR}/ppp_on_boot.dsl ${D}/${sysconfdir}/ppp/ +} + +pkg_postinst() { +if test "x$D" != "x"; then + exit 1 +else + if ! test -e ${sysconfdir}/ppp/ppp_on_boot; then + ln -s ppp_on_boot.dsl ${sysconfdir}/ppp/ppp_on_boot + fi +fi +} + +CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/peers/dsl-provider" |