From: Nico Schottelius <nico.schottelius@ungleich.ch>
To: wireguard@lists.zx2c4.com
Subject: Re: PostDown 0.0.20191127
Date: Thu, 28 Nov 2019 14:07:00 +0100 [thread overview]
Message-ID: <87tv6o5evf.fsf@ungleich.ch> (raw)
In-Reply-To: <CAHmME9rV17Y_NE-=OV96FWt6=3fx94D8G4ADcvj9nG7zzHdL4w@mail.gmail.com>
Follow up question from my side Jason: what do you think about replacing
"$2" in the script with a shifted "$@" and allowing multiple devices to
be specified?
i.e. wg-quick up wgungleich wgplace4 wgplace11
is something I would like to do in one call and it would potentially be
easy to just loop around it as follows:
...
elif [[ $# -ge 2 && $1 == up ]]; then
auto_su
shift # kick out "up" from the list
while [ $# -ge 1 ]; do
name=$1; shift
parse_options "$name"
cmd_up
done
...
Jason A. Donenfeld <Jason@zx2c4.com> writes:
> Thanks. Fixed this way:
> https://git.zx2c4.com/WireGuard/commit/?id=57854fb710160f567cf776b65080a9ce5afdf02c
>
> But: why is your remove_iptables failing in the first place?
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
next prev parent reply other threads:[~2019-11-28 13:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-28 12:27 PostDown 0.0.20191127 Thomas Sattler
2019-11-28 12:51 ` Jason A. Donenfeld
2019-11-28 13:07 ` Nico Schottelius [this message]
2019-11-28 13:32 ` Thomas Sattler
2019-11-28 17:14 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tv6o5evf.fsf@ungleich.ch \
--to=nico.schottelius@ungleich.ch \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.