blob: e0970c5fdeda14c2c6a3bc5180d3d4dc969d961e (
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
|