summaryrefslogtreecommitdiff
path: root/recipes/ppp/ppp-gprs_1.0.bb
blob: 2db6e808f48076025582bc5be39c4b9518c74f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "console/network"
DESCRIPTION = "PPP scripts for easy GPRS connection"
LICENSE = "GPL"
RDEPENDS = "ppp"
PR = "r1"

SRC_URI = "file://peers/* file://chats/*"

do_install () {
        install -d ${D}${sysconfdir}/ppp/peers/
        install -d ${D}${sysconfdir}/ppp/chats/
        install -m 0644 ${WORKDIR}/peers/* ${D}${sysconfdir}/ppp/peers/
        install -m 0644 ${WORKDIR}/chats/* ${D}${sysconfdir}/ppp/chats/

	# Add links for providers sharing same well-known config
	ln -sf _gprs-ap-internet ${D}${sysconfdir}/ppp/peers/ua-life
}

PACKAGE_ARCH = "all"

# In worst case, user may need to edit anything
CONFFILES_${PN} = "${sysconfdir}/ppp/peers/_gprs ${sysconfdir}/ppp/chats/chat-gprs"