kanth Posted January 18, 2011 Share Posted January 18, 2011 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? Quote Link to comment
Joe L. Posted January 18, 2011 Author Share Posted January 18, 2011 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. Quote Link to comment
X1pheR Posted November 2, 2011 Share Posted November 2, 2011 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. Quote Link to comment
rcrh Posted October 26, 2015 Share Posted October 26, 2015 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. Quote Link to comment
Recommended Posts
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.