Commit d6329716 authored by Pavel Shilovsky's avatar Pavel Shilovsky

Add v4.x kernels detection

parent 77137774
...@@ -167,8 +167,8 @@ detect_etercifs_sources() ...@@ -167,8 +167,8 @@ detect_etercifs_sources()
if [ "$FIRSTNUM" -eq 2 ] ; then if [ "$FIRSTNUM" -eq 2 ] ; then
[ -n "$ETERCIFS_SOURCES_LIST" ] || ETERCIFS_SOURCES_LIST=$DATADIR/sources/kernel-source-etercifs-2* [ -n "$ETERCIFS_SOURCES_LIST" ] || ETERCIFS_SOURCES_LIST=$DATADIR/sources/kernel-source-etercifs-2*
KERNEL_STRING=$KERNEL KERNEL_STRING=$KERNEL
elif [ "$FIRSTNUM" -eq 3 ] ; then elif [ "$FIRSTNUM" -eq 3 ] || [ "$FIRSTNUM" -eq 4 ]; then
[ -n "$ETERCIFS_SOURCES_LIST" ] || ETERCIFS_SOURCES_LIST=$DATADIR/sources/kernel-source-etercifs-3* [ -n "$ETERCIFS_SOURCES_LIST" ] || ETERCIFS_SOURCES_LIST=$DATADIR/sources/kernel-source-etercifs-$FIRSTNUM*
kernel_release2 kernel_release2
KERNEL_STRING=$KERNEL2 KERNEL_STRING=$KERNEL2
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment