]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rfkill: allow use of multiple arguments
authorSami Kerola <kerolasa@iki.fi>
Mon, 11 Sep 2017 19:55:57 +0000 (20:55 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 15 Sep 2017 10:24:31 +0000 (12:24 +0200)
commit4f892d77d5c960431e0b3f08e469d82ec55da0d8
tree869b5b2190b0d5324a404478337a6716a77fc900
parent2e7a92270114cc652ea090251a374e917adb7a72
rfkill: allow use of multiple arguments

There is no reason why multiple arguments could not be supported.

Most common use case is to do multiple control commands in one go without us
of 'all' argument that can cause unnecessary connection breakage.  For
example someone might want to add to a system initialization following
commands.

    rfkill block bluetooth uwb wimax wwan gps fm nfc

That will ensure everything but wifi is turned off with as few commands as
possible, without killing wifi at any point.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/rfkill.8
sys-utils/rfkill.c