create typo in mystic config script

This commit is contained in:
Mario Fetka 2024-04-20 14:54:46 +02:00
parent 05596e7400
commit 2e7df477e6
5 changed files with 79 additions and 4 deletions

View File

@ -61,7 +61,7 @@ cat ${MYSTIC_DIR}/mutil.ini | sed -n '/\[EchoNodeTracker\]/, $p' | sed '$d' > ${
configarray+=('EchoNodeTracker')
msg_ok "SPlitting mutil.ini into it's parts for later merge"
source $MSTEMPDIR/mystic/maint-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/mailout-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/mailin-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/importna-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/mystic/maint-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/mystic/mailout-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/mystic/mailin-${SCRIPT_VER}.sh
source $MSTEMPDIR/mystic/mystic/importna-${SCRIPT_VER}.sh

19
mystic/importna-v1.sh Normal file
View File

@ -0,0 +1,19 @@
pushd ${MUTIL_DIR} &>/dev/null
configfile="importna.ini"
config=('Import_FIDONET.NA' 'Import_FILEBONE.NA')
msg_info "Merging ${config} into ${configfile}"
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
msg_ok "Merging ${config} into ${configfile}"
popd &>/dev/null

19
mystic/mailin-v1.sh Normal file
View File

@ -0,0 +1,19 @@
pushd ${MUTIL_DIR} &>/dev/null
configfile="mailin.ini"
config=('ImportEchoMail' 'FileToss')
msg_info "Merging ${config} into ${configfile}"
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
msg_ok "Merging ${config} into ${configfile}"
popd &>/dev/null

19
mystic/mailout-v1.sh Normal file
View File

@ -0,0 +1,19 @@
pushd ${MUTIL_DIR} &>/dev/null
configfile="mailout.ini"
config=('ExportEchoMail')
msg_info "Merging ${config} into ${configfile}"
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
msg_ok "Merging ${config} into ${configfile}"
popd &>/dev/null

18
mystic/maint-v1.sh Normal file
View File

@ -0,0 +1,18 @@
pushd ${MUTIL_DIR} &>/dev/null
configfile="maint.ini"
config=('PurgeMessageBases' 'PackMessageBases' 'MergeNodeLists' 'PackFileBases' 'PurgeUserBase' 'PackUserBase' 'FileSort')
msg_info "Merging ${config} into ${configfile}"
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
msg_ok "Merging ${config} into ${configfile}"
popd &>/dev/null