cmkelley
Very Senior Member
NB: I MAKE NO PROMISES!!! Don't get mad if you lose your log files, you have been warned!
Since ASUS is now putting the default syslog.log on /jffs instead of /tmp, this is causing problems for scribe. I don't have one of those new-fangled routers, so I can only test that it doesn't completely break the "old" way.
I need people who are certain that the default syslogd is storing the log at /jffs/syslog.log to see if this works on your system.
Known issues:
1) The /opt/var/messages gets wiped when it tries to figure out where syslogd wants to put the log. I need to work through that logic and see what I missed.
2) I have temporarily disabled the screen clearing before the menu, this is intentional so error messages don't disappear.
Need to check:
1) For systems with the syslog at /jffs/syslog.log, please verity if /tmp/syslog.log is symlinked to/jffs/syslog.log (which should in turn be symlinked to /opt/var/messages). Even if it is, I'm considering linking it directly to /opt/var/messages to skip the "middleman" as it were. EDIT: decided to skip the middleman.
Have fun, please don't use this on anything resembling a production router, or if other people in your household don't take kindly to the router going down.
To test (yes, I'm hoping you read all that above to find this part): Use your favorite text editor to change:
to
Please do not use sed, that isn't the only line in the code that has the word "master" in it.
After changing the line, when you run scribe it should tell you there's an update. Given how much I changed, and the fact that I no longer have a "test" router, I'm half expecting it not to upgrade properly, so let me know if that's broken.
Since ASUS is now putting the default syslog.log on /jffs instead of /tmp, this is causing problems for scribe. I don't have one of those new-fangled routers, so I can only test that it doesn't completely break the "old" way.
I need people who are certain that the default syslogd is storing the log at /jffs/syslog.log to see if this works on your system.
Known issues:
2) I have temporarily disabled the screen clearing before the menu, this is intentional so error messages don't disappear.
Need to check:
1) For systems with the syslog at /jffs/syslog.log, please verity if /tmp/syslog.log is symlinked to
Have fun, please don't use this on anything resembling a production router, or if other people in your household don't take kindly to the router going down.
To test (yes, I'm hoping you read all that above to find this part): Use your favorite text editor to change:
Code:
readonly scribe_branch="master"
Code:
readonly scribe_branch="gamma"
Please do not use sed, that isn't the only line in the code that has the word "master" in it.
After changing the line, when you run scribe it should tell you there's an update. Given how much I changed, and the fact that I no longer have a "test" router, I'm half expecting it not to upgrade properly, so let me know if that's broken.
Last edited: