Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unsassigned device plugin führt script bei unmount aus (soll es aber nicht)

Featured Replies

Ich versuche noch das tolle rsync script von @mgutt sinnvoll einzusetzen. Leider scheitere ich etwas.
Ich habe das Script nun eingefügt als device script für eine USB-Festplatte und habe das Laufwerk auf automount gesetzt. Das funktioniert so weit sehr gut, rsync wird ausgeführt sobald die Festplatte steckt
.
Wenn ich dann die Platte aushängen möchte, mit dem umount Button, wird das Script allerdings erneut gestartet und der rsync läuft von vorne los. Irgendwann wirft unraid die Platte dann raus und schreibt den Pfad des Ziels intern voll.

Wie kann ich verhindern, dass scripte beim unmounten erneut ausgeführt werden?
Ich habe auch versucht den unmount Befehl direkt im Script zu integrieren, dass hat aber den gleichen Effekt.

 

 

Solved by hawihoney

  • Solution
40 minutes ago, BigChris said:

Wenn ich dann die Platte aushängen möchte, mit dem umount Button, wird das Script allerdings erneut gestartet und der rsync läuft von vorne los. Irgendwann wirft unraid die Platte dann raus und schreibt den Pfad des Ziels intern voll.

 

Ohne das von Dir modifizierte Script, oder einen Link auf das von Dir 1:1 eingefügte Script, wird Dir vermutlich niemand helfen können.

 

Das offizielle Format für ein Device Skript findest Du im ersten Beitrag in diesem Thread:

 

 

image.png.e403893195733df79d15fe30a284ec4f.png

 

Edited by hawihoney

  • Author

Ok, ich habe es hinbekommen. 

Ich hatte es nicht verstanden, dass man das "Defaultscript" drin lässt und sein Script nur in die Sektion einfügt, in der definiert wird wann es ausgeführt wird. 
Manchmal muss man doch mehr lesen.

Vielen Dank für die Hilfe hier!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.