patch mutil.ini

This commit is contained in:
Mario Fetka 2024-04-20 17:42:51 +02:00
parent b3d54afb73
commit 2743931c39
2 changed files with 7 additions and 0 deletions

View File

@ -59,6 +59,8 @@ cat ${MYSTIC_DIR}/mutil.ini | sed -n '/\[AutoHatch\]/, /\[/p' | sed '$d' > ${MUT
configarray+=('AutoHatch') configarray+=('AutoHatch')
cat ${MYSTIC_DIR}/mutil.ini | sed -n '/\[EchoNodeTracker\]/, $p' | sed '$d' > ${MUTIL_DIR}/EchoNodeTracker cat ${MYSTIC_DIR}/mutil.ini | sed -n '/\[EchoNodeTracker\]/, $p' | sed '$d' > ${MUTIL_DIR}/EchoNodeTracker
configarray+=('EchoNodeTracker') configarray+=('EchoNodeTracker')
cat ${MYSTIC_DIR}/mutil.ini | sed -n '/\[EchoUnlink\]/, $p' | sed '$d' > ${MUTIL_DIR}/EchoUnlink
configarray+=('EchoUnlink')
msg_ok "SPlitting mutil.ini into it's parts for later merge" msg_ok "SPlitting mutil.ini into it's parts for later merge"
source $MSTEMPDIR/mystic/mystic/maint-${SCRIPT_VER}.sh source $MSTEMPDIR/mystic/mystic/maint-${SCRIPT_VER}.sh

View File

@ -20,6 +20,11 @@ chmod +x install &>/dev/null
popd &>/dev/null popd &>/dev/null
msg_ok "Finisched ${APP} Installation" msg_ok "Finisched ${APP} Installation"
pushd ${MYSTIC_DIR} &>/dev/null
apt install -y patch &>/dev/null
patch -p0 -i $MSTEMPDIR/mystic/mystic/patches/mutil-ini-echounlink.patch
popd &>/dev/null
msg_info "Creating ${APP} und setting Permissions in ${MYSTIC_DIR}" msg_info "Creating ${APP} und setting Permissions in ${MYSTIC_DIR}"
if [ -z "${GROUP}" ]; then if [ -z "${GROUP}" ]; then
groupadd mystic &>/dev/null groupadd mystic &>/dev/null