[cyberoam.sh] Change ugly sed statements to a cleaner, more correct awk