summaryrefslogtreecommitdiff
path: root/pcr/rtirq/rtirq.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-22 05:05:57 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-22 05:05:57 -0300
commit702559018be7e74df3053c9232a04e0e85e7b427 (patch)
tree8e6bdc076c000b0ed109dfe1c1925a30adf2d9f7 /pcr/rtirq/rtirq.install
parent42e4d800a8eb2bcf22251468f06391863b785630 (diff)
downloadabslibre-702559018be7e74df3053c9232a04e0e85e7b427.tar.gz
abslibre-702559018be7e74df3053c9232a04e0e85e7b427.tar.bz2
abslibre-702559018be7e74df3053c9232a04e0e85e7b427.zip
rtirq: add new package to [pcr]
Diffstat (limited to 'pcr/rtirq/rtirq.install')
-rw-r--r--pcr/rtirq/rtirq.install33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/rtirq/rtirq.install b/pcr/rtirq/rtirq.install
new file mode 100644
index 000000000..d4488c287
--- /dev/null
+++ b/pcr/rtirq/rtirq.install
@@ -0,0 +1,33 @@
+# arg 1: the new package version
+post_install() {
+ cat << EOF
+
+==> This script works in conjunction with a realtime kernel.
+==> To enable rtirq from start-up:
+==> #systemctl enable rtirq
+==> To start it manually:
+==> # systemctl start rtirq
+==> Configuration takes place in /etc/conf.d/rtirq
+
+EOF
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ cat << EOF
+
+==> This script works in conjunction with a realtime kernel.
+==> To enable rtirq from start-up:
+==> #systemctl enable rtirq
+==> To start it manually:
+==> # systemctl start rtirq
+==> Configuration takes place in /etc/conf.d/rtirq
+
+
+EOF
+}
+
+op=$1
+shift
+$op $*