shithub: x

Download patch

ref: 2b53b00077a2bcbb1d0ec33ee90d929c2e34557b
parent: 79c6404377c27bdd84d5743020cdf17d9696e1d0
author: kvik <kvik@a-b.xyz>
date: Mon Sep 2 04:19:01 EDT 2019

x/mnt: fix sshfs not mounting itself

--- a/mnt
+++ b/mnt
@@ -18,7 +18,7 @@
 	for(u in $user){
 		userhost=$u@$host
 		mount -c /srv/$userhost /x/$userhost >[2]/dev/null \
-		|| sshfs -M -r / -s $userhost $userhost
+		|| sshfs -s $userhost -m /x/$userhost -r / $userhost
 	}
 }