summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc/salt.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-05-28 00:41:03 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-05-28 00:41:03 -0500
commit0261c17b7921335e4cd1d0ab62cf000dd1359df4 (patch)
tree1cce8e0e0291aba1b6ce014ac85116115b11f5fd /pcr/openrc-misc/salt.install
parent3fa248393f991d283492f18d470d269d79cd61f5 (diff)
openrc-misc-20160528-1: updating version
Diffstat (limited to 'pcr/openrc-misc/salt.install')
-rw-r--r--pcr/openrc-misc/salt.install24
1 files changed, 0 insertions, 24 deletions
diff --git a/pcr/openrc-misc/salt.install b/pcr/openrc-misc/salt.install
deleted file mode 100644
index 0cc3bd3d3..000000000
--- a/pcr/openrc-misc/salt.install
+++ /dev/null
@@ -1,24 +0,0 @@
-_svc=('salt-master' 'salt-minion' 'salt-syncdic')
-_rlvl="default"
-
-post_install() {
- _cmd="rc-update add ${_svc[0]} ${_rlvl}"
- echo " ==> run '${_cmd}'"
- _cmd="rc-update add ${_svc[1]} ${_rlvl}"
- echo " ==> run '${_cmd}'"
- _cmd="rc-update add ${_svc[2]} ${_rlvl}"
- echo " ==> run '${_cmd}'"
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-post_remove() {
- _cmd="rc-update del ${_svc[0]} ${_rlvl}"
- echo " ==> run '${_cmd}'"
- _cmd="rc-update del ${_svc[1]} ${_rlvl}"
- echo " ==> run '${_cmd}'"
- _cmd="rc-update del ${_svc[2]} ${_rlvl}"
- echo " ==> run '${_cmd}'"
-}