Commit 7f157e43 authored by Valentino Lauciani's avatar Valentino Lauciani
Browse files

Update

parent 1c247b17
......@@ -123,7 +123,7 @@ configure_iptables()
echo_date "Check \"iptables\" installation:" >> ${OUTPUTFILE} 2>&1
dpkg-query -W -f='${Status} ${Version}\n' iptables >> ${OUTPUTFILE} 2>&1
RETURNED_VAL=${?}
echo "RETURNED_VAL:${RETURNED_VAL}"
echo "RETURNED_VAL:${RETURNED_VAL}" >> ${OUTPUTFILE} 2>&1
echo_date "Done" >> ${OUTPUTFILE} 2>&1
if (( ${RETURNED_VAL} == 0 )) && [ -d ${GITBASEDIR}/cnt.rm.ingv.it/root/etc/firewall/ ]; then
......@@ -146,7 +146,7 @@ configure_fail2ban()
echo_date "Check \"fail2ban\" installation:" >> ${OUTPUTFILE} 2>&1
dpkg-query -W -f='${Status} ${Version}\n' fail2ban >> ${OUTPUTFILE} 2>&1
RETURNED_VAL=${?}
echo "RETURNED_VAL:${RETURNED_VAL}"
echo "RETURNED_VAL:${RETURNED_VAL}" >> ${OUTPUTFILE} 2>&1
echo_date "" >> ${OUTPUTFILE} 2>&1
if (( ${RETURNED_VAL} == 0 )) && [ -d ${GITBASEDIR}/cnt.rm.ingv.it/root/etc/fail2ban/ ]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment