A fancier status display for Hardkernel's Cloudshell 2 ODroid XU4 NAS Case.
- Realtime stats
- Less cluttered than the standard shell script
- Stat values mapped to colors
- Simple configurability and extensibility via config file
On your XU4, fire up a shell and enter:
git clone git@github.com/cedrichaase/cloudshell-lcd-blessed
cd cloudshell-lcd-blessed
npm install
node app > /dev/tty1Follow the development setup guide. If you want to use cloudshell-lcd-blessed permanently, you might want to add a systemd service file for it:
[Unit]
Description=CloudShell Blessed LCD
[Service]
ExecStart=/bin/sh -c "/path/to/node /path/to/cloudshell-lcd-blessed/app.js > /dev/tty1"
[Install]
WantedBy=multi-user.targetSubstitute the dummy paths for actual paths of the node executable and app.js
and save the contents to /etc/systemd/system/cloudshell-lcd-blessed.service.
After bootup, start the service manually by executing
systemctl start cloudshell-lcd-blessedStarting the service automatically on bootup does not yet work because blessed does not refresh the entire screen,
causing it to conflict with the getty login that is started on /dev/tty1 by default.
