u-isdn/tools/insmod

18 lines
351 B
Plaintext
Raw Normal View History

#!/bin/sh
2022-02-17 07:14:30 +00:00
#
## Diese Version von "insmod" f<>gt ein Modul nicht in diesen, sondern in
## den n<>chsten Kernel ein...
FILE=$1
VERSION=${VERSION:-$(${TOPDIR}/tools/getversion)}
1997-06-04 04:45:55 +00:00
dir=${MODDIR}/${VERSION}
echo MOD $(basename $FILE .o) >>$TOPDIR/modules.isdn
2022-02-17 07:14:30 +00:00
rm -f $dir/isdn/$FILE
1996-04-19 15:56:37 +00:00
(
cp $FILE $dir/isdn/$FILE
strip --strip-debug $dir/isdn/$FILE
) &
exit 0