Commit ab5d4af4 authored by Marek Gumiński's avatar Marek Gumiński

Fixed install scipt

parent de5307e3
......@@ -44,7 +44,7 @@ sleep 1
sleep 1
# test software
if [ `lsmod | grep fmc_adc_100m14b | wc -l` -eq 0 ];
if [ `lsmod | grep spec | wc -l` -eq 0 ];
then
echo "ERROR! Required drivers are not loaded correctly:";
......@@ -65,15 +65,13 @@ else
spec=1
fi
if [ `ls /sys/bus/zio/devices | wc -l` -ne 2 ];
if [ `ls /sys/bus/fmc/devices | wc -l` -ne 1 ];
then
echo "ERROR! No divice is visible in /sys/bus/zio/devices"
echo "ERROR! No device is visible in /sys/bus/fmc/devices"
if [ ! -z $spec ]
then
echo "ERROR! Drives might not build correctly";
echo "Make sure that patch was correctly applied to fmc_adc_100m14b driver"
else
echo "Make sure that SPEC device is mount correctly and run this script again."
......
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