瀏覽代碼

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

Zachary Kotlarek 12 年之前
父節點
當前提交
ae3b19f56e
共有 1 個文件被更改,包括 3 次插入 和 1 次删除
  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