Initial import - (formaly a SVN project named rcopy)

This commit is contained in:
2017-01-24 15:15:01 +01:00
commit 76433059ad
16 changed files with 3079 additions and 0 deletions

8
README.convert Normal file
View File

@ -0,0 +1,8 @@
# - Convert host files and rcopy.conf file created on
# - rcopy SVN versions eralier than revision 50
# -
cd /root/crontab/rcopy
sed -i '/^default_config_file=/d' hosts/*.sh
sed -i '/^rcopy_functions_file=/d' hosts/*.sh
perl -i -n -p -e "s#\.\s+\\\$default_config_file.*#. \\\$rcopy_conf_file#" hosts/*.sh
perl -i -n -p -e "s#^crontab_base_dir=.*#crontab_base_dir=\\\$rcopy_base_dir#" conf/rcopy.conf