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.

if-up.d

Featured Replies

Hi,

 

I'm looking to add some scripts when the network goes up (or down) to help automount/unmount my sshfs setup to my seedbox for Sonarr and CouchPotato

 

I can't find /etc/network/if-up.d and /etc/network/if-down.d

 

Should I just create these and hope for the best or does UnRaid run the network differently than normal linux installs?

 

Thanks!

I don't have the exact answer to your question, but if this works on Slackware Linux it should work on unRAID.

Just remember if you create those specific directories it will only be written in RAM and when you reboot those directories and content will be erased. You could create a script in you go file that creates that path and moves files into it if needed as a fix or use a SSD. I'm sure somebody might have a more elegant method, but that's food for thought.

  • Author

mmm, true, I do need to know when the network goes up or down to be able to run the automount/unmount scripts

 

however, when does fstab run? because if it's after the network is up, then I'm all good.

 

and now that I think of it. is fstab also in ram?

 

I've got the nerd tools installed to get sshfs, is there some config in there that I can make this setup permanent?

 

thanks for your help

mmm, true, I do need to know when the network goes up or down to be able to run the automount/unmount scripts

 

however, when does fstab run? because if it's after the network is up, then I'm all good.

 

and now that I think of it. is fstab also in ram?

 

I've got the nerd tools installed to get sshfs, is there some config in there that I can make this setup permanent?

 

thanks for your help

 

Please share your findings as other also use seedboxes and this could be useful.

I don't remember where, but somewhere here I remember seeing a bit of code that checked now and then to see if Plex was running and if not it fired up a restart of it.

 

I know your not dealing with Plex, but it might give you some idea to tinker with.

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.