Procházet zdrojové kódy

Always attempt a re-mount, in case the network changes

Zachary Kotlarek před 12 roky
rodič
revize
ae3b19f56e
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      plexMonitor/plexHelper.sh

+ 3 - 1
plexMonitor/plexHelper.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