Update flux.sh

This commit is contained in:
William Todt 2016-02-19 16:09:24 +01:00
parent 45ba7863c4
commit 666c9039b7
1 changed files with 5 additions and 5 deletions

10
flux.sh
View File

@ -39,18 +39,18 @@ Transparent="\e[0m"
# Debug / Entwickler MODUS # Debug / Entwickler MODUS
if [ $LINSET_DEBUG = 1 ]; then if [ $FLUX_DEBUG = 1 ]; then
export linset_output_device=/dev/stdout export flux_output_device=/dev/stdout
HOLD="-hold" HOLD="-hold"
else else
export linset_output_device=/dev/null export flux_output_device=/dev/null
HOLD="" HOLD=""
fi fi
function conditional_clear() { function conditional_clear() {
if [[ "$linset_output_device" != "/dev/stdout" ]]; then clear; fi if [[ "$flux_output_device" != "/dev/stdout" ]]; then clear; fi
} }
# Check Updates [NOT WORKING] # Check Updates [NOT WORKING]
@ -66,7 +66,7 @@ function checkupdatess {
} }
function exitmode { function exitmode {
echo -e "\n\n"$Weis["$Rot" "$Weiß"] "$rot"Ejecutando la limpieza y cerrando."$Transparent" echo -e "\n\n"$Weis["$Rot" "$Weiß"] "$rot"ERROR 01"$Transparent"
if ps -A | grep -q aireplay-ng; then if ps -A | grep -q aireplay-ng; then
echo -e ""$Weis"["$Rot"-"$Weis"] "$Weis "Matando "$Grau "aireplay-ng"$Transparent echo -e ""$Weis"["$Rot"-"$Weis"] "$Weis "Matando "$Grau "aireplay-ng"$Transparent