Commit Graph

8 Commits

Author SHA1 Message Date
Michael Stapelberg
9b7963c4fc Handle common errors without dying 2009-01-09 00:13:18 +01:00
Michael Stapelberg
b052bfa79b Remove debugmessage 2008-10-29 23:29:06 +01:00
Michael Stapelberg
7d0f324b7a Make wmiistatus run all the time and wait for wmii_path to exist
Instead of exiting as a file inside wmii_path cannot be opened, we wait
until wmii_path is found again (particularly the /rbar part, that is),
re-setup our files and continue as if nothing happened.

This will make wmiistatus survive restarts of wmii and make it wait for
/mnt/wmii to appear when booting up (and wmiistatus gets started before
wmii itself)
2008-10-29 23:26:26 +01:00
Michael Stapelberg
62f3fc6838 Implement getting current speed from network interfaces
The network interface must be supported by ethtool, as its syscall is
used for this. This is at least the case for e1000 cards.

Unfortunately, getting the speed needs root privileges. Therefore, you
have to enable it in configuration separately.
2008-10-24 21:05:20 +02:00
Michael Stapelberg
753144d58b Make source splint-clean (invoked with -weak) 2008-10-10 10:33:05 +02:00
Michael Stapelberg
8f5d77d5e4 Add option parsing via getopt, cleanup Makefile 2008-10-07 15:33:54 +02:00
Michael Stapelberg
b9948793a5 Add manpage, ignore spaces in tokens, introduce interval 2008-10-07 15:25:41 +02:00
Michael Stapelberg
a49ff50578 Make everything configurable 2008-10-07 13:41:10 +02:00