diff options
Diffstat (limited to 'hook')
-rw-r--r-- | hook | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +run_hook() { + dir_pre_mount_handler="${mount_handler:-default_mount_handler}" + mount_handler=dir_mount_handler +} + +dir_mount_handler() { + $dir_pre_mount_handler "$1" + mount --bind -- "$1/$dir" "$1" +} |