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.

Script for unRaid status and (partial) management from the telnet prompt

Featured Replies

Just started using unRaid. A lot of these scripts are very nice.

 

Question about this one. I've added the code to see the disks spinning, added my own ncurses, etc.

 

When you go to start the array, it prints the message that rebooting is safer.

I'm curious, couldn't the start array be set to this and thus it would call exactly what the unRaid menu calls?  I would think that would be perfectly safe:

 

                "STOPPED")

                        case "$a" in

                        "S") # start the array

                        # Start the unRaid array

        echo "$clearscreen"

        /usr/bin/wget -q -O - localhost/blank.htm >/dev/null

        /usr/bin/wget -q -O - localhost/blank.htm?cmdStart=apply >/dev/null

        echo

        echo "Restarting Array..."

        echo

                sleep 10

 

 

All the wget would do is call the blank in case the menu has not been accessed, and then hit the menu's Start button.

 

Or is there some reason why you would not want to do this?

  • Author

Just started using unRaid. A lot of these scripts are very nice.

 

Question about this one. I've added the code to see the disks spinning, added my own ncurses, etc.

 

When you go to start the array, it prints the message that rebooting is safer.

I'm curious, couldn't the start array be set to this and thus it would call exactly what the unRaid menu calls?  I would think that would be perfectly safe:

 

                "STOPPED")

                        case "$a" in

                        "S") # start the array

                        # Start the unRaid array

        echo "$clearscreen"

        /usr/bin/wget -q -O - localhost/blank.htm >/dev/null

        /usr/bin/wget -q -O - localhost/blank.htm?cmdStart=apply >/dev/null

        echo

        echo "Restarting Array..."

        echo

                sleep 10

 

 

All the wget would do is call the blank in case the menu has not been accessed, and then hit the menu's Start button.

 

Or is there some reason why you would not want to do this?

At the time the original "unmenu" shell script was written, the "wget" command did not exist on the unRAID distribution, there was no obvious way to click on the localhost button.  (and the array was limited to 11 data disks + parity, did not support SATA disks, or multi-core CPUs at all.  It was all IDE disks, and a PCI bus.) 

 

unRAID has come a long way.  Yes, you could do what you described to re-start the arrray.

 

Joe L.

  • 9 months later...

I recently had a problem where the web management didn't work. So I was glad I came across this topic since I'm not yet that experienced with unraid. Thumbs up Joe. To spare people the work that also come across this topic I've updated the code on the wiki page to contain all changes mentioned in this topic. I hope you don't mind. It also may be advised to change the OP text with some red bold text mentioning to get the code from the wiki page. Thanks again for the hard work on the script.

  • 3 years later...

hate to bump such an old thread but does this script work on the series 5.x or 6.x unRaid?

 

I'm having issues with the gui in 5.x and would like some basic control from telnet.

 

Thanks.

 

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.