shell-scripts/05_fuse

4 lines
199 B
Text
Raw Normal View History

2018-03-23 08:25:08 -05:00
#!/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