mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
config.sh: builtin grep!
This commit is contained in:
@@ -2156,6 +2156,12 @@ or with our shortcut:
|
|||||||
/conf.sh
|
/conf.sh
|
||||||
....
|
....
|
||||||
|
|
||||||
|
or to conveniently grep for a specific option:
|
||||||
|
|
||||||
|
....
|
||||||
|
/conf.sh CONFIG_IKCONFIG
|
||||||
|
....
|
||||||
|
|
||||||
This is enabled by:
|
This is enabled by:
|
||||||
|
|
||||||
....
|
....
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
zcat /proc/config.gz
|
zcat /proc/config.gz | grep "${1:-}"
|
||||||
|
|||||||
Reference in New Issue
Block a user