aboutsummaryrefslogtreecommitdiff
path: root/config.c
AgeCommit message (Collapse)AuthorFilesLines
2009-01-25Move configuration file parsing into wmiistatus.c, saves a lot of ↵Michael Stapelberg1-139/+0
hassle/SLOC/files
2009-01-25Simplify config file parsing *a lot*Michael Stapelberg1-86/+34
2009-01-09Handle common errors without dyingMichael Stapelberg1-2/+0
2008-10-29Remove debugmessageMichael Stapelberg1-1/+0
2008-10-29Make wmiistatus run all the time and wait for wmii_path to existMichael Stapelberg1-3/+7
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 Stapelberg1-0/+5
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 Stapelberg1-1/+1
2008-10-07Add option parsing via getopt, cleanup MakefileMichael Stapelberg1-1/+1
2008-10-07Add manpage, ignore spaces in tokens, introduce intervalMichael Stapelberg1-1/+8
2008-10-07Make everything configurableMichael Stapelberg1-0/+178