summaryrefslogtreecommitdiff
path: root/config.c
AgeCommit message (Collapse)Author
2009-01-25Move configuration file parsing into wmiistatus.c, saves a lot of ↵Michael Stapelberg
hassle/SLOC/files
2009-01-25Simplify config file parsing *a lot*Michael Stapelberg
2009-01-09Handle common errors without dyingMichael Stapelberg
2008-10-29Remove debugmessageMichael Stapelberg
2008-10-29Make wmiistatus run all the time and wait for wmii_path to existMichael Stapelberg
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-24Implement getting current speed from network interfacesMichael Stapelberg
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-10Make source splint-clean (invoked with -weak)Michael Stapelberg
2008-10-07Add option parsing via getopt, cleanup MakefileMichael Stapelberg
2008-10-07Add manpage, ignore spaces in tokens, introduce intervalMichael Stapelberg
2008-10-07Make everything configurableMichael Stapelberg