wanpipe/patches/copy_modules.sh

9 lines
112 B
Bash
Executable File

#!/bin/bash
from=$1
to=$2
echo "Coping $from to $to"
eval "cp $(find $from -name '*.ko' | xargs) $to"
exit $?