diff options
Diffstat (limited to 'rtirq/Pkgfile')
-rw-r--r-- | rtirq/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/rtirq/Pkgfile b/rtirq/Pkgfile new file mode 100644 index 0000000..8bc3437 --- /dev/null +++ b/rtirq/Pkgfile @@ -0,0 +1,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 +} |