summaryrefslogtreecommitdiff
path: root/htb-init/htb-init_0.8.5.oe
blob: 783f64a5a8cbcca85965b8fd90a9976fd3a4d5e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "HTB.init is a shell script that allows for easy setup of HTB-based traffic control on Linux."
HOMEPAGE = "http://sourceforge.net/projects/htbinit"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
LICENSE = "GPL"

SRC_URI = "http://aleron.dl.sourceforge.net/sourceforge/htbinit/htb.init-v${PV} \
	file://htb.init+ingress+predef+verbose.diff;patch=1;pnum=0 \
	file://htb-basic-verbose.diff;patch=1;pnum=0"
RDEPENDS = "kernel-module-sch-ingress kernel-module-cls-route kernel-module-cls-u32 kernel-module-cls-fw kernel-module-sch-sfq kernel-module-sch-htb iproute2 (>= 2.6.8-r1)"

S="${WORKDIR}/aleron.dl.sourceforge.net"

do_install() {
	install -d ${D}/${sysconfdir}/init.d
	install -d ${D}/${sysconfdir}/htb
	install -m 755 ${S}/htb.init-v${PV} ${D}/${sysconfdir}/init.d/htb
}