swap type needs enhanced logic

The script in its present state cannot determine about validity of swap mounts and hence reports an error every time about type swap partitions listed in /etc/fstab. swap type partitions are supposed to be defined in /etc/fstab .