mirror of https://github.com/F-Stack/f-stack.git
notify user to install bc
This commit is contained in:
parent
63fb3d1fbf
commit
06399ef331
5
start.sh
5
start.sh
|
@ -32,6 +32,11 @@ do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if ! type "bc" > /dev/null 2>&1; then
|
||||||
|
echo "please install bc"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
allcmask0x=`cat ${conf}|grep lcore_mask|awk -F '=' '{print $2}'`
|
allcmask0x=`cat ${conf}|grep lcore_mask|awk -F '=' '{print $2}'`
|
||||||
((allcmask=16#$allcmask0x))
|
((allcmask=16#$allcmask0x))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue