localbackup: rename mountHook/umountHook to preMountHook/postUnmountHook

This commit is contained in:
Jörg Thalheim
2024-03-26 14:02:40 +01:00
parent e58b0f86aa
commit 4b37835bc7
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
'';
};