X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=rewrite%2Fcreate-scsi-mod-file.sh;fp=rewrite%2Fcreate-scsi-mod-file.sh;h=0000000000000000000000000000000000000000;hb=1a06f3f65adef0fdd432aad11f479020630778a5;hp=aba5bdfd2532b357bccf76ad643574116b3a4fd0;hpb=3ce5c1d60539aa8d2a01a810aa92325f8c513696;p=grml-live.git diff --git a/rewrite/create-scsi-mod-file.sh b/rewrite/create-scsi-mod-file.sh deleted file mode 100644 index aba5bdf..0000000 --- a/rewrite/create-scsi-mod-file.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -[ -n "$KERNEL" ] || KERNEL='2.6.20-grml' -for s in $(find /lib/modules/$KERNEL/kernel/drivers/scsi -name *.ko); do - # DEP=$(modinfo $s|grep '^depends:'|echo $(cut -d' ' -f2-)) - DEP=$(modinfo $s|grep '^depends:'|cut -d' ' -f2-) - case $DEP in - *pcmcia*) - ;; - *) - modinfo $s|grep '^alias:'|grep pci|while read a; do - echo $a $DEP $(basename $s|sed 's/\.ko//')|cut -f3- -d: - done - ;; - esac -done|sort|uniq