ctdb/tests/UNIT/eventscripts/stubs/exportfs
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | opts="10.0.0.0/16(rw,async,insecure,no_root_squash,no_subtree_check)" |
| 4 | |
| 5 | for i in $FAKE_SHARES; do |
| 6 | # Directories longer than 15 characters are printed on their own |
| 7 | # line. |
| 8 | if [ ${#i} -ge 15 ]; then |
| 9 | printf '%s\n\t\t%s\n' "$i" "$opts" |
| 10 | else |
| 11 | printf '%s\t%s\n' "$i" "$opts" |
| 12 | fi |
| 13 | done |