@Adamm,
I want to create a variable that could be referenced in multiple places, but its value easily changed in one. That would make it easier to change the maxelem value.
Is this correct ?
Code:
blocklist_maxel=$(( 65536 + 7 ))
if [ "$(ipset -L BLOCKLIST | wc -l)" = "$(blocklist_maxel)" ]; then