diff options
author | nikp123 | 2018-04-07 15:06:55 +0200 |
---|---|---|
committer | nikp123 | 2018-04-07 15:06:55 +0200 |
commit | 99573fca2ae6380a50bec32e5fe0491dbc8556b1 (patch) | |
tree | 73c66ccaebc9a81d66023165e4685b002c9c4259 /hook | |
download | aur-mkinitcpio-dir.tar.gz |
Initial commit
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" +} |