diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-28 00:41:03 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-28 00:41:03 -0500 |
commit | 0261c17b7921335e4cd1d0ab62cf000dd1359df4 (patch) | |
tree | 1cce8e0e0291aba1b6ce014ac85116115b11f5fd /pcr/openrc-misc/lm_sensors.install | |
parent | 3fa248393f991d283492f18d470d269d79cd61f5 (diff) | |
download | abslibre-0261c17b7921335e4cd1d0ab62cf000dd1359df4.tar.gz abslibre-0261c17b7921335e4cd1d0ab62cf000dd1359df4.tar.bz2 abslibre-0261c17b7921335e4cd1d0ab62cf000dd1359df4.zip |
openrc-misc-20160528-1: updating version
Diffstat (limited to 'pcr/openrc-misc/lm_sensors.install')
-rw-r--r-- | pcr/openrc-misc/lm_sensors.install | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/pcr/openrc-misc/lm_sensors.install b/pcr/openrc-misc/lm_sensors.install deleted file mode 100644 index 8b9260556..000000000 --- a/pcr/openrc-misc/lm_sensors.install +++ /dev/null @@ -1,28 +0,0 @@ -_svc=('lm_sensors' 'fancontrol' 'sensord') -_rlvl=('boot' 'default') - -post_install() { - _cmd="rc-update add ${_svc[0]} ${_rlvl[0]}" - echo " ==> run '${_cmd}'" - _cmd="rc-update add ${_svc[1]} ${_rlvl[1]}" - echo " ==> run '${_cmd}'" - _cmd="rc-update add ${_svc[2]} ${_rlvl[1]}" - echo " ==> run '${_cmd}'" - - - echo "To set command args for ${_svc[2]}, add 'SENSORD_OPTIONS=""'" - echo "to /etc/conf.d/sensord" -} - -post_upgrade() { - post_install "$1" -} - -post_remove() { - _cmd="rc-update del ${_svc[0]} ${_rlvl[0]}" - echo " ==> run '${_cmd}'" - _cmd="rc-update del ${_svc[1]} ${_rlvl[1]}" - echo " ==> run '${_cmd}'" - _cmd="rc-update del ${_svc[2]} ${_rlvl[1]}" - echo " ==> run '${_cmd}'" -} |