insecure locks test
This commit is contained in:
parent
a3e4aaa57b
commit
8a844d3024
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
if ! sed -e '/^#/d' -e '/^[ \t][ \t]*#/d' -e 's/#.*$//' -e '/^$/d' /etc/exports | grep insecure_locks;then
|
||||
if grep 'insecure_locks' /etc/exports; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue