Initial import - (formaly a SVN project named rcopy)
This commit is contained in:
8
README.convert
Normal file
8
README.convert
Normal 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
|
Reference in New Issue
Block a user