#!/bin/bash . /usr/src/m2/framework/bash_functions.sh cp -f /usr/src/m2/helpers/m2_rates_effective_from_cache_control/m2_rates_effective_from_cache_control.sh /usr/local/m2 chmod +x /usr/local/m2/m2_rates_effective_from_cache_control.sh cp -f /usr/src/m2/scripts/cronjobs/m2_rates_effective_from_cache_control /etc/cron.d chmod 0644 /etc/cron.d/m2_rates_effective_from_cache_control service crond restart > /dev/null # now handled by m2_global_logrotate #add_logrotate_if_not_present "/var/log/m2/m2_rates_effective_from_cache_control.log" "m2_rates_effective_from_cache_control" report "m2_rates_effective_from_cache_control has been installed" 0