NetBSD/share/sushi/network/exports/addexport/scriptb

12 lines
206 B
Bash
Executable File

#!/bin/sh
# $NetBSD: scriptb,v 1.1 2001/04/25 03:43:28 garbled Exp $
grep "^$1 " /etc/exports | grep -- '-maproot' > /dev/null
if [ "$?" = "0" ]; then
echo "YES"
echo "NO"
else
echo "NO"
echo "YES"
fi