use sed
This commit is contained in:
parent
599605d91c
commit
efd23620f4
@ -268,8 +268,7 @@ install_driver() {
|
|||||||
|
|
||||||
# TODO busybox modprobe doesn't support -S option
|
# TODO busybox modprobe doesn't support -S option
|
||||||
modprobe -S "$kernel" -D "$driver" 2> /dev/null |
|
modprobe -S "$kernel" -D "$driver" 2> /dev/null |
|
||||||
grep -v "builtin\|net" |
|
sed "/builtin\|net/d;s/insmod //" |
|
||||||
cut -d " " -f 2 |
|
|
||||||
|
|
||||||
while read -r full_driver; do
|
while read -r full_driver; do
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user