From 7d80257e4cecc8692d91b809d313fe6dad12f38c Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sun, 24 Jan 2016 18:24:47 -0500 Subject: openrc-misc-20160123-1.parabola1: updating version --- pcr/openrc-misc/brltty.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pcr/openrc-misc/brltty.install (limited to 'pcr/openrc-misc/brltty.install') 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}'" +} -- cgit v1.2.3-2-g168b