21 lines
512 B
BlitzBasic
21 lines
512 B
BlitzBasic
DESCRIPTION = "OpenGGSN GPRS routing to the real world"
|
|
RDEPENDS = "iptables kernel-module-ipt-masquerade"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
|
|
|
SRC_URI = "file://gprs_routing"
|
|
|
|
|
|
inherit update-rc.d
|
|
|
|
INITSCRIPT_PACKAGES = "${PN}"
|
|
INITSCRIPT_NAME_${PN} = "gprs_routing"
|
|
INITSCRIPT_PARAMS_${PN} = "defaults 28 28"
|
|
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${WORKDIR}/gprs_routing ${D}${sysconfdir}/init.d/gprs_routing
|
|
}
|