diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-24 18:24:47 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-24 18:24:47 -0500 |
commit | 7d80257e4cecc8692d91b809d313fe6dad12f38c (patch) | |
tree | 85529a529a61f7667e8d9fd6bf3eb37c291c2bf4 /pcr/openrc-misc/brltty.install | |
parent | bf79694419b038ac74801ce22baafb8774514dd8 (diff) | |
download | abslibre-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.install | 15 |
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}'" +} |