Val D.
Very Senior Member
Would this do for the reboot scheduler?
Make the script incompatible with RT-AC86U.
https://www.snbforums.com/threads/ac86u-sometimes-powers-completely-off-during-reboot.48296/
Would this do for the reboot scheduler?
@all and @Elmer
Would this do for the reboot scheduler? The selection is either by days or with the presets, only one choice can be set.
Does the selection and explanation make sense?
Make the script incompatible with RT-AC86U.
https://www.snbforums.com/threads/ac86u-sometimes-powers-completely-off-during-reboot.48296/
if $model = RT-AC86U ; then
echo 'I am afraid I can't do that Val D.'
service cancelreboot
else
echo 'I am completely operational, and all my circuits are functioning perfectly.'
echo 'Rebooting now.'
service reboot
fi
That was just an example. 1-7 are specific days, 90 - 95 are now the presets.If I'm understanding this correctly, based on your example if I enter 13 does that reboot Monday and Wednesday or Day 1 and 15 every month? Or do I first choose either days or presets and then enter my choice? If not the latter could you use 80-85 for the presets as to not conflict with the day entry?
This is what the options look like after I finished coding the logic:If I'm understanding this correctly, based on your example if I enter 13 does that reboot Monday and Wednesday or Day 1 and 15 every month? Or do I first choose either days or presets and then enter my choice? If not the latter could you use 80-85 for the presets as to not conflict with the day entry?
echo 'I am afraid I can't do that Val D.'
Shouldn't you be checking '/opt/bin/' rather than '/opt/sbin' for Non-Entware scripts?- ep now has an option to view a structured list of installed Scripts and Entware packages. Thanks @Martineau for the inspiration.
I do, /opt/bin/ and /opt/sbin/ if you have any in that folder. I added the following / to better optically differentiate between /bin and /sbin btw.Shouldn't you be checking '/opt/bin/' rather than '/opt/sbin' for Non-Entware scripts?
Ahh, I'm using the 'reduced_cw' theme, and nothing is visually displayed.I do, /opt/bin/ and /opt/sbin/ if you have any in that folder. I added the following / to better optically differentiate between /bin and /sbin btw.
I see, or actually I too don't! A bug in the newly added BLUE color for that function which I have lifted off of the Diversion scheme.Ahh, I'm using the 'reduced_cw' theme, and nothing is visually displayed.
Same in Diversion. But it's not a bug, just the combination of the SSH terminal capabilities and the background color in use.Ahh, I'm using the 'reduced_cw' theme, and nothing is visually displayed.
I don't know if it has been discussed already or if there is some other purpóse or forum rule..... But I'm curious as to why you (and other similar threads) keep adding on posts. I know it makes it easier as there is a static liñbthat can be put into a signature, but I find it off-putting.amtm 2.8 is now available
It's partially been discussed, search this forum, they are spread across multiple threads. Does it make it easier searching the complete forum for a search term than just one thread? Thought so.I don't know if it has been discussed already or if there is some other purpóse or forum rule..... But I'm curious as to why you (and other similar threads) keep adding on posts. I know it makes it easier as there is a static liñbthat can be put into a signature, but I find it off-putting.
First, many of the posts have no value as they are "thank you" posts, many are stupid comments such as this post , many ask for features that are rejected, many ask for features that have subsequently been added, many are off topic, etc, etc
Finding the useful information, particularly for someone new who is considering implementing your wonderful efforts, is difficult in a 64+ page thread.
Have you considered either asking to clean out the thread on every new release or posting a static locked thread to allow for links in a signature, but starting a new thread for new versions?
Love the work and the support, but just my personal opinion pointing out that super long posts about multiple versions can really turn people off and negate all the good things about your work.
Don't mean to come across as negative, just trying to make it easier for people to read / understand / implement without spending a week reading first
Keep up the good work.
It doesn't disappear. It's shown as an enable-able option.2. You have a nice feature of scheduling a router reboot using the rs command. I used it but just now wanted to see how long the GUI would stay working without a weekly reboot after I disabled AIProtect. Btw, I found that rs only sometimes works. When it fails, the router goes to sleep that requires manual intervention to get going again. Anyway, when I disabled rs, and the amtm menu repainted, the rs command was gone. I expect that in 2 months when I want to add it back in, I will have forgotten that command, and will need to search the thread to find it. Maybe you could present the rs option in a way that says it is disabled, or greyed out, or ??. That way I can at least find the command when I need it. Also, are there any other commands like that, that if you are not using it, just disappears from the menu?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!