# HG changeset patch # User Pascal Bellard # Date 1253901855 -7200 # Node ID 720fade32b4031900c3873c17b4a2a44ca35092a # Parent 329063f300c3507e5727e946ff7e3c4875c7ff9c linux: list_modules.sh should be bash compatible diff -r 329063f300c3 -r 720fade32b40 linux/stuff/list_modules.sh --- a/linux/stuff/list_modules.sh Fri Sep 25 18:21:42 2009 +0200 +++ b/linux/stuff/list_modules.sh Fri Sep 25 20:04:15 2009 +0200 @@ -3,6 +3,11 @@ # 2008/06/07 - GNU General Public License. # +find_modules() +{ +find $_pkg/lib/modules/*-slitaz/kernel/$1 -type f -exec basename {} \; +} + if [ -z "$1" ] ; then cat 1>&2 <