Comments (12)
@ThomDietrich @dimon222
Ok, fixed the invader them today. Unless you guys give me a good reason not to update master with dev-willem in the next week I'm going into production.
from firemotd.
@dimon222 @ThomDietrich Seems like in Ubuntu you need to compile it :(
./configure && make && sudo make install
https://stedolan.github.io/jq/download/
This is kind of annoying I guess for everyone not using yum...,?
from firemotd.
Repository installation confirmed on Ubuntu 14.04 and Raspbian 8 (which I didn't expect).
No problems on my side.
from firemotd.
Can you post the full installation instructions for Ubuntu? Tx
from firemotd.
Debian (so should probably affect all the debian based builds) - available in official repo via
sudo apt-get install jq
from firemotd.
This will do
sudo apt install jq
With the focus on older systems @dimon222 's apt-get option might be safer
from firemotd.
Feel free to checkout dev-willem
Test run with sudo ./FireMotD -E
Output /var/tmp/FireJson.json:
{
"version": {
"Generated": "@logon",
"Value": " 7.11.170608 ",
"LastRun": "2017-07-11 16:19:05,835"
},
"hostname": {
"Generated": "@logon",
"Value": "n02.outsideit.net",
"LastRun": "2017-07-11 16:19:05,835"
},
"hostip": {
"Generated": "@logon",
"Value": "172.104.134.172",
"LastRun": "2017-07-11 16:19:05,835"
}
}
So my plan is to build the json data file in steps. That way I can work on it when I have the time and the old method will keep working for some time.
More-utils is required too now in orde to use sponge. https://rentes.github.io/unix/utilities/2015/07/27/moreutils-package/
from firemotd.
Sounds good and going at it step by steps is reasonable! Way to go! 🎉
from firemotd.
@ThomDietrich @dimon222 Ok, forget what I said, I reworked the whole thing. No backwards compatibility, as it's just too much hassle. So most functionalities have been ported. All data is written to and read from the json file /var/tmp/FireMotD.json
Could you please test it and let me know what you think. I would want to push to master asap. Only the invader and the html theme haven't been ported yet. The rest should work. it contains a default json, my goal is to make this an external file in the near future, but for now it's hardcoded.
Start with running it at least once like this:
sudo ./FireMotD -S
Then run with
./FireMotD --Theme Modern
This means we can finally use sudo commands and gather even more information. Looking forward to your opinion.
from firemotd.
Did another commit with some bugfixes.
from firemotd.
Hey, I was a bit busy lately. The proposal and code I saw looked good and I'm sure you did a great job implementing and testing everything. I'll speak up if problems present themselves ;)
For me this will be interesting because I'll need to update the FireMotD routine in openHABian!
from firemotd.
Moved dev-willem to master. Closing this issue. Feel free to make new ones if you do encounter problems.
from firemotd.
Related Issues (20)
- FireMotD v9.16.180717 fails to work after upgrading from v8.08.171007 HOT 5
- Slowness of themes based on theme files HOT 3
- Orange theme not there anymore HOT 1
- Advanced info only available through the 'Original' theme HOT 10
- after upgrade turn FireMotD slow on show up HOT 13
- Makefile issue line 42 HOT 3
- Error while reading the PostgreSQL version HOT 1
- Shellcheck Compliance HOT 2
- Kibana Version cache hardcoded HOT 1
- hostname is stil hardcoded in cache
- Feature request: Temperature reporting
- Feature Request: display available memory instead of used+buffers/cache
- Auto detect dnf
- Ubuntu 20.04 HOT 9
- Unable to parse ip
- "Uptime" gives the uptime at point in time of previous login HOT 1
- FireMotD takes very long to render system info HOT 11
- Highlighting noteworthy data HOT 3
- make uninstall do not remove the cron job HOT 4
- Fedora 27 - Unable to parse ip. Please debug HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firemotd.