create_ap

create a nat-ed wifi ap
git clone git://git.2f30.org/create_ap
Log | Files | Refs | README | LICENSE

commit ce8d4c9ee56dcdcf9d9a853542090c34118ee088
parent 92d35c0da301adc4aba05392959b66b729bc8c46
Author: oblique <psyberbits@gmail.com>
Date:   Sun, 17 May 2015 19:08:18 +0300

All positional arguments are overridden if user pass at least one of them

Diffstat:
Mcreate_ap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/create_ap b/create_ap @@ -1013,7 +1013,7 @@ while :; do done # Load positional args from config file, if needed -if [[ -n "$LOAD_CONFIG" ]]; then +if [[ -n "$LOAD_CONFIG" && $# -eq 0 ]]; then for ((i=$# + 1; i<=${#LOADED_ARGS[@]}; i++)); do ((j=i-1)) ((k=i+1))