diff --git a/docs/MultiISP.xml b/docs/MultiISP.xml index 26118121c..1aa2dfc52 100644 --- a/docs/MultiISP.xml +++ b/docs/MultiISP.xml @@ -49,9 +49,9 @@ - This document describes the Multi-ISP facility in Shorewall 4.5.0 - and later. If you are running an earlier release, please see the - documentation for that release. + This document describes the Multi-ISP facility in Shorewall 4.5.0 and later. If you are running an + earlier release, please see the documentation for that release. @@ -1552,6 +1552,11 @@ DOWN_COUNT=2 interface.status where interface is the interface (e.g., eth0.status). + + + Beginning with Shorewall 4.5.0, the generated script + automatically maintains this .status file. + @@ -1911,9 +1916,10 @@ Your LSM Daemon EOM -[ ${STATE} = up ] && state=0 || state=1 +# Uncomment the next two lines if you are running Shorewall 4.4.x or earlier -echo $state > ${VARDIR}/${DEVICE}.status +# [ ${STATE} = up ] && state=0 || state=1 +# echo $state > ${VARDIR}/${DEVICE}.status /sbin/shorewall restart -f >> /var/log/lsm 2>&1 @@ -1984,10 +1990,10 @@ Your LSM Daemon EOM if [ ${STATE} = up ]; then - echo 0 > ${VARDIR}/${DEVICE}.status +# echo 0 > ${VARDIR}/${DEVICE}.status # Uncomment this line if you are running Shorewall 4.4.x or earlier ${VARDIR}/firewall enable ${DEVICE} else - echo 1 > ${VARDIR}/${DEVICE}.status +# echo 1 > ${VARDIR}/${DEVICE}.status # Uncomment this line if you are running Shorewall 4.4.x or earlier ${VARDIR}/firewall disable ${DEVICE} fi