10 lines
174 B
Bash
Executable File
10 lines
174 B
Bash
Executable File
#! /bin/sh
|
|
|
|
IFS=$'\n'
|
|
|
|
for module in $(grep -E '/lib/modules/.+\.ko$'); do
|
|
nm $module \
|
|
| sed -r -ne 's:^0*([0-9a-f]+) A __crc_(.+):ksym(\2) = \1:p'
|
|
done \
|
|
| sort -u
|