Fix module args per kernel version.
This commit is contained in:
parent
748ddf28ed
commit
fc7e6a3ada
@ -43,7 +43,6 @@ start()
|
|||||||
eval args=\$module_${xx}_args_$(shell_var "${y}")
|
eval args=\$module_${xx}_args_$(shell_var "${y}")
|
||||||
[ -n "${args}" ] && break
|
[ -n "${args}" ] && break
|
||||||
done
|
done
|
||||||
done
|
|
||||||
[ -z "${args}" ] && eval args=\$module_${xx}_args
|
[ -z "${args}" ] && eval args=\$module_${xx}_args
|
||||||
eval modprobe -q "${x}" "${args}"
|
eval modprobe -q "${x}" "${args}"
|
||||||
eend $? "Failed to load ${x}" && cnt=$((${cnt} + 1))
|
eend $? "Failed to load ${x}" && cnt=$((${cnt} + 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user