12345
  1. #!/bin/bash
  2. if sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/exports | grep -i "all_squash";then
  3. exit 1
  4. fi