shell-scripts/05_fuse
2018-03-23 08:25:08 -05:00

4 lines
199 B
Bash
Executable file

#!/bin/sh
#Copy this to /etc/pm/sleep.d
#Unmount all sshfs mounts before system goes to sleep so tasks do not refuse to sleep
mount -l -t fuse.sshfs | awk -F " " '{print "fusermount -u " $3}' | bash