summaryrefslogtreecommitdiff
path: root/ctdb/tests/UNIT/eventscripts/stubs/exportfs
blob: 46c65225be17f5012137037fb992a033e17e6241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

opts="10.0.0.0/16(rw,async,insecure,no_root_squash,no_subtree_check)"

for i in $FAKE_SHARES ; do
    # Directories longer than 15 characters are printed on their own
    # line.
    if [ ${#i} -ge 15 ] ; then
	printf '%s\n\t\t%s\n' "$i" "$opts"
    else
	printf '%s\t%s\n' "$i" "$opts"
    fi
done