Explorar el Código

Always trigger a re-mount

Zachary Kotlarek hace 12 años
padre
commit
e1098d8f0d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      pms/PMSHelper.sh

+ 3 - 1
pms/PMSHelper.sh

@@ -1,8 +1,10 @@
 #!/bin/bash
 
+# Always re-trigger a mount (to fix links if the network changes)
+~/bin/video/mountMedia
+
 # Wait for the media share to be mounted
 if ! ~/bin/video/isMediaMounted; then
-	~/bin/video/mountMedia
 	sleep 5
 	exit 1
 fi