plan9fox/rc/bin/service/!tcp17007

3 lines
86 B
Bash
Executable file

#!/bin/rc
netdir=`{echo $3 | sed 's;/[0-9]+$;!*!0;'}
exec /bin/exportfs -a -A $netdir