platform_system_core/toolbox
Mark Salyzyn 63368beaba modprobe: add -s/--syslog flag
There is a desire to ensure that modprobe as a service can log to
kmesg to help triage issues, so add support for the -s or --syslog
flag to do so.

SideEffects:
- help goes to stdout instead of stderr.
- verbose flag once, sets DEBUG, twice, sets VERBOSE minimum.
- quiet flag sets WARNING minimum.

Bug: 159424228
Bug: 151950334
Test: use modprobe as a service to load modules, check logs
Change-Id: I884995f364b0fc604861797eb90d7225a372f864
2020-06-26 10:31:07 -07:00
..
Android.bp toolbox: add modprobe 2019-08-06 13:58:13 -07:00
generate-input.h-labels.py Fix the generated getevent labels. 2016-06-29 14:12:29 -07:00
getevent.c toolbox: getevent: disable stdout buffering 2019-01-15 16:42:59 +01:00
getprop.cpp newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
modprobe.cpp modprobe: add -s/--syslog flag 2020-06-26 10:31:07 -07:00
MODULE_LICENSE_APACHE2 newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
NOTICE newfs_msdos: switch to external/newfs_msdos. 2018-06-13 13:21:24 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
setprop.cpp toolbox: add setprop, start, and stop 2019-06-06 11:20:29 -07:00
start.cpp Control audio HAL services in start/stop 2020-04-23 12:01:46 -07:00
toolbox.c Fix toolbox failure return to match similar tools. 2016-04-12 08:40:43 -07:00
tools.h toolbox: add modprobe 2019-08-06 13:58:13 -07:00