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