summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc/brltty.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-24 18:24:47 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-01-24 18:24:47 -0500
commit7d80257e4cecc8692d91b809d313fe6dad12f38c (patch)
tree85529a529a61f7667e8d9fd6bf3eb37c291c2bf4 /pcr/openrc-misc/brltty.install
parentbf79694419b038ac74801ce22baafb8774514dd8 (diff)
downloadabslibre-7d80257e4cecc8692d91b809d313fe6dad12f38c.tar.gz
abslibre-7d80257e4cecc8692d91b809d313fe6dad12f38c.tar.bz2
abslibre-7d80257e4cecc8692d91b809d313fe6dad12f38c.zip
openrc-misc-20160123-1.parabola1: updating version
Diffstat (limited to 'pcr/openrc-misc/brltty.install')
-rw-r--r--pcr/openrc-misc/brltty.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/openrc-misc/brltty.install b/pcr/openrc-misc/brltty.install
new file mode 100644
index 000000000..3b7f6a298
--- /dev/null
+++ b/pcr/openrc-misc/brltty.install
@@ -0,0 +1,15 @@
+_svc="brltty"
+_rlvl="boot"
+
+post_install() {
+ _cmd="rc-update add ${_svc} ${_rlvl}"
+ echo " ==> run '${_cmd}'"
+}
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ _cmd="rc-update del ${_svc} ${_rlvl}"
+ echo " ==> run '${_cmd}'"
+}