Commit Graph

18 Commits

Author SHA1 Message Date
Michael Stapelberg
7f39bf160c Install manpages aswell 2008-10-24 21:39:28 +02:00
Michael Stapelberg
6344135cb2 Add release target to Makefile, use -f for deletion 2008-10-24 21:29:00 +02: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
c5b50af388 More comments 2008-10-07 18:38:22 +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
Michael Stapelberg
7c79d735d8 Implement colors for runwatches and WLAN down 2008-10-07 12:05:57 +02:00
Michael Stapelberg
6f705c20de Make runwatches work again 2008-10-07 11:54:04 +02:00
Michael Stapelberg
7fa8c4b9a9 Write information in separate files, define order
wmii will show them with little border between, better than the previous
method, where an ascii bar was shown
2008-10-07 11:45:52 +02:00
Michael Stapelberg
e94e252089 Strip all non-digit characters from pidbuf
This is needed for dhclient's pidfile, as it contains a newline
2008-10-07 11:22:35 +02:00
Michael Stapelberg
e31a85eb3b Make some formats/paths configurable, add initscript 2008-10-04 19:32:35 +02:00
Michael Stapelberg
e68449ee1d Implement run_watches 2008-10-04 19:16:41 +02:00
Michael Stapelberg
79dfdafb21 Get IP address for WLAN interface aswell 2008-10-04 18:51:27 +02:00
Michael Stapelberg
65251638dd Cleanup
- Add more warning-flags to Makefile and fix warnings
- Create config.h as a central place for paths/names
- Add wmiistatus.h for definitions
2008-10-04 18:42:12 +02:00
Michael Stapelberg
ed49d5983e Add license, display correct WLAN status 2008-10-04 15:10:50 +02:00
Michael Stapelberg
949728e8c5 Initial commit 2008-10-03 03:18:09 +02:00