localbackup: rename mountHook/umountHook to preMountHook/postUnmountHook

This commit is contained in:
Jörg Thalheim
2024-03-26 14:02:40 +01:00
parent 80abeef994
commit 74b5f6c61a
2 changed files with 31 additions and 11 deletions

View File

@@ -115,10 +115,10 @@
clan.localbackup.targets.hdd = {
directory = "/mnt/external-disk";
mountHook = ''
preMountHook = ''
touch /run/mount-external-disk
'';
unmountHook = ''
postUnmountHook = ''
touch /run/unmount-external-disk
'';
};