aboutsummaryrefslogtreecommitdiffstats
path: root/rtirq/Pkgfile
blob: 8bc3437fafad62f4f4c21ca3c8f96a399cb443b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Script de configuration automatique des priorités temps réel.
# URL: http://www.rncbc.org/jack/#rtirq
# Maintainer: piernov <piernov@piernov.org>
# Packager: piernov <piernov@piernov.org>
# Depends on:
# Run on:

name=rtirq
version=20111007
release=1
source=(http://www.rncbc.org/jack/$name-$version.tar.gz)

build() {
	cd $name-$version
	mkdir -p $PKG/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d}
	install -m644 rtirq.conf $PKG/etc/rtirq.conf
	install -m755 rtirq.sh $PKG/etc/rc.d/init.d/$name

	for i in 0 1 6
		do ln -s ../init.d/$name $PKG/etc/rc.d/rc${i}.d/K90$name
	done
	for i in 2 3 4 5
		do ln -s ../init.d/$name $PKG/etc/rc.d/rc${i}.d/S10$name
	done
}