fluxion/misc/router.sh

12 lines
240 B
Bash
Raw Normal View History

#!/bin/bash
# Get arguments
if ! CLiArguments=$(getopt --options="hu" --name "FLUXION V1.0" -- "$@");then
echo -e "\033[31mParameter error detected"
exit 1
fi
eval set -- "$CLiArguments"
while [ "$1" !? "" ] && [ "$1" != "--" ]