commit | 63c2e7ecc0c7a72b2ed35475a8d18d3052039ce4 | [log] [tgz] |
---|---|---|
author | Jeremie Koenig <jk@jk.fr.eu.org> | Sun Aug 01 03:01:44 2010 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Aug 01 03:01:44 2010 +0200 |
tree | 502795272936f6225a3ae268d40dfbf80027c89f | |
parent | 17662801ece60bbcc45bbc3cb1fc0fc3070d0d23 [diff] |
klogd: make it work on non-linux systems The klogctl() interface allows changing the console loglevel, but is Linux-specific. The more portable method of reading from _PATH_KLOG is added as an alternative. Adapted from the Debian kFreeBSD patch at: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian/klogd.diff Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>