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.

Need help with a bash script

Featured Replies

I'm using this XMLRPC-Client to send "Start/Stop downloads" commands from Tautulli to another Unraid docker container:

 

https://gist.github.com/bjoern-r/c3afda16d45edad5f4a5

 

The last two lines of this script look like this:

curl -k $verbose --data "@$rpcxml" "$servUrl" 2>/dev/null | xmllint --format -
\rm -f $rpcxml

xmllint is not part of Unraid so I removed the pipe:

curl -k $verbose --data "@$rpcxml" "$servUrl" 2>/dev/null
\rm -f $rpcxml

I was under the impression, that "\rm $rpcxml" would remove the temporary xml file in $rpcxml. That does not work. Every RPC request leaves the temp file in the directory.

 

Any help is highly appreciated.

 

Edited by hawihoney

What is the purpose of the backslash character before rm?

Archived

This topic is now archived and is closed to further replies.

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.