Thread: [Fremantle Maemo5] [Announce] OpenSSH status widget
View Single Post
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#103
Recent changes were written over the weekend quickly, but it seems to find an end. These are just small changes - from now on only bugfixes.

I had an error in reasoning when trying to find that wrong "other" value and changing the command for counting server connections from

(good)
Code:
netstat -t | grep -c :ssh[[:space:]]*[0-9].*ESTABLISHED
to

(bad)
Code:
netstat -t | grep -cE :ssh[[:space:]]*E{0}.*ESTABLISHED

The latter counts clients connections as well - ...because whitespace is E{0} (I think).

So, here is the changelog for v2.2-8:
* switch wifi pm already on when disconnecting wlan to make sure the command is valid
* recent change for counting server connections undone (error in reasoning)

--- Edit ---

moving closer to rock-solid

In connections overview when returning from "?" or "0 Other" to previous values the display didn't change due to unset variables.

Changelog for v2.2-9:
* fixes in connections overview: for "?" and "0 other" the "recent" variables were not set
__________________
OpenSSH Status Widget (N900)
Start / stop / kill / restart / autostart server - View server status - View server and client connections - Switch wifi pm automatically

Simpler Brightness Applet (N900) - A variation of the Simple Brightness Applet
Short tap to toggle "keep backlight on" - Long tap to open display settings

Last edited by rasmarc; 2016-12-19 at 13:14.
 

The Following User Says Thank You to rasmarc For This Useful Post: