create_ap

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

commit 034545483cf7c75ca2ab4583fbb2b030a57bab82
parent 6c56e81148c469d8c5495a3ae0fa53b80c9885b8
Author: oblique <psyberbits@gmail.com>
Date:   Wed Sep 10 23:03:04 +0300

fix bug: networkmanager_rm_unmanaged_if_needed was ignoring 2nd argument

Diffstat:
create_ap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create_ap b/create_ap @@ -302,7 +302,7 @@ networkmanager_rm_unmanaged() { } networkmanager_rm_unmanaged_if_needed() { - [[ $ADDED_UNMANAGED =~ .*\ ${1}\ .* ]] && networkmanager_rm_unmanaged ${1} + [[ $ADDED_UNMANAGED =~ .*\ ${1}\ .* ]] && networkmanager_rm_unmanaged $1 $2 } networkmanager_wait_until_unmanaged() {