add rfkill check
This commit is contained in:
parent
fe74db89ae
commit
d7838be6da
9
fluxion
9
fluxion
|
@ -455,6 +455,15 @@ function checkdependences {
|
||||||
fi
|
fi
|
||||||
sleep 0.025
|
sleep 0.025
|
||||||
|
|
||||||
|
echo -ne "rfkill..........."
|
||||||
|
if ! hash rfkill 2>/dev/null; then
|
||||||
|
echo -e "\e[1;31mNot installed"$transparent""
|
||||||
|
exit=1
|
||||||
|
else
|
||||||
|
echo -e "\e[1;32mOK!"$transparent""
|
||||||
|
fi
|
||||||
|
sleep 0.025
|
||||||
|
|
||||||
if [ "$exit" = "1" ]; then
|
if [ "$exit" = "1" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue