From 4ab13a9304e4d70871cbd5a7818fda8b1a063d849052c80a7a417c76cce4476a Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Wed, 16 Feb 2011 06:03:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=20 --- extract-modaliases | 165 --------------------------------------------- 1 file changed, 165 deletions(-) delete mode 100644 extract-modaliases diff --git a/extract-modaliases b/extract-modaliases deleted file mode 100644 index 3d7d3e61..00000000 --- a/extract-modaliases +++ /dev/null @@ -1,165 +0,0 @@ -#! /bin/bash - -LC_ALL=POSIX - -usage() { - cat <> $tmp - done - rm -rf $tmpdir - ;; - ELF*) - process_module "$file" >> $tmp - ;; - *) - if [ -e "$file" ]; then - echo "File type of $file not supported" >&2 - exit 1 - fi - file2=$(/sbin/modinfo -F filename "${file%.ko}") - if ! [ -e "$file2" ]; then - echo "No module $file found" >&2 - exit 1 - fi - process_module "$file2" >> $tmp - ;; - esac -done - -if [ -n "${!processed_module_*}" ]; then - echo "# Modules:" $(for m in ${!processed_module_*}; do echo ${!m}; done \ - | sort -u) - - sort -u $tmp \ - | if [ -n "$opt_combine" ]; then - combine_modaliases - else - cat - fi - - echo "# Generated with: ${0##*/} ${ARGS[*]}" -fi - -# vim:softtabstop=4 shiftwidth=4