- fix no more working nfs mount in some situations,
authorMladen Horvat <acid-burn@opendreambox.org>
Sat, 24 Oct 2009 04:50:39 +0000 (04:50 +0000)
committerMladen Horvat <acid-burn@opendreambox.org>
Sat, 24 Oct 2009 04:50:39 +0000 (04:50 +0000)
this needs an update of your saved configuration so edit your current entry and resave it so you have a fitting
entry -> mount combination. thx OoZooN

networkbrowser/src/AutoMount.py

index bd589c1..ba454bd 100755 (executable)
@@ -125,7 +125,7 @@ class AutoMount():
 
                                if data['mounttype'] == 'nfs':
                                        if not os_path.ismount(path):
-                                               tmpcmd = 'mount -t nfs -o tcp,'+ data['options'] +',rsize=8192,wsize=8192 ' + data['ip'] + ':' + tmpsharedir + ' ' + path
+                                               tmpcmd = 'mount -t nfs -o tcp,'+ data['options'] +',rsize=8192,wsize=8192 ' + data['ip'] + ':/' + tmpsharedir + ' ' + path
                                                self.command = tmpcmd.encode("UTF-8")
 
                                if data['mounttype'] == 'cifs':