Add new config files

This commit is contained in:
Mario Fetka 2023-01-19 19:32:31 +01:00
parent a1cb12db8c
commit f7ccf496a8

View File

@ -550,6 +550,56 @@ do
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
done
#=====================================================================================#
configfile="mailout.ini"
config=('ExportEchoMail')
preparray=("${configarray[@]}")
for el in ${config[@]}
do
preparray=("${preparray[@]/$el}")
done
cat General ${config[@]} > ${MYSTIC_DIR}/${configfile}
for el in ${preparray[@]}
do
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
done
#=====================================================================================#
configfile="mailin.ini"
config=('ImportEchoMail' 'FileToss')
preparray=("${configarray[@]}")
for el in ${config[@]}
do
preparray=("${preparray[@]/$el}")
done
cat General ${config[@]} > ${MYSTIC_DIR}/${configfile}
for el in ${preparray[@]}
do
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
done
#=====================================================================================#
configfile="importna.ini"
config=('Import_FIDONET.NA' 'Import_FILEBONE.NA')
preparray=("${configarray[@]}")
for el in ${config[@]}
do
preparray=("${preparray[@]/$el}")
done
cat General ${config[@]} > ${MYSTIC_DIR}/${configfile}
for el in ${preparray[@]}
do
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
done
#=====================================================================================#