aboutsummaryrefslogtreecommitdiffstats
path: root/rtirq/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-19 21:46:41 +0100
committerpiernov <piernov@piernov.org>2012-01-19 21:47:00 +0100
commitc8a8faef555ddb35e9c28084584212d6d15ef3a8 (patch)
tree958ff56a6876c3db0751c10cfde06b15f99dfbb3 /rtirq/Pkgfile
parent0bf1fecbf74513ac5a6ea0b8e8c65a06fd980357 (diff)
downloadnutyx-multimedia-c8a8faef555ddb35e9c28084584212d6d15ef3a8.tar.gz
nutyx-multimedia-c8a8faef555ddb35e9c28084584212d6d15ef3a8.tar.bz2
nutyx-multimedia-c8a8faef555ddb35e9c28084584212d6d15ef3a8.tar.xz
nutyx-multimedia-c8a8faef555ddb35e9c28084584212d6d15ef3a8.zip
rtirq 20111007-1 ajout port > Script de configuration pour kernel-rt
Diffstat (limited to 'rtirq/Pkgfile')
-rw-r--r--rtirq/Pkgfile25
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
+}