From 4d6f304fcf80e7161ecdcf68117895526a92ca85 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 28 Aug 2015 19:50:17 -0500 Subject: openrc-misc-20150828-1: updating version --- pcr/openrc-misc/at.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pcr/openrc-misc/at.install (limited to 'pcr/openrc-misc/at.install') diff --git a/pcr/openrc-misc/at.install b/pcr/openrc-misc/at.install new file mode 100644 index 000000000..033059dd2 --- /dev/null +++ b/pcr/openrc-misc/at.install @@ -0,0 +1,16 @@ +_svc="atd" +_rlvl="default" + +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