4 lines
199 B
Text
4 lines
199 B
Text
|
|
#!/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
|