Return-path: Received: from s3.sipsolutions.net ([5.9.151.49]:43416 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752852AbdF2OEF (ORCPT ); Thu, 29 Jun 2017 10:04:05 -0400 Message-ID: <1498745040.3141.6.camel@sipsolutions.net> (sfid-20170629_160408_781060_43208FED) Subject: Re: rfkill(8) move and improvements From: Johannes Berg To: Sami Kerola , Marcel Holtmann , Tim Gardner , Karel Zak Cc: linux-wireless@vger.kernel.org, util-linux@vger.kernel.org Date: Thu, 29 Jun 2017 16:04:00 +0200 In-Reply-To: (sfid-20170625_150452_207599_1328128A) References: (sfid-20170625_150452_207599_1328128A) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Sami, all, > The otherday I ran powertop and it did rfkill to save battery, which > was particularly annoying because I had not installed rfkill(8) > package.   > Fixing the immediate issue was relatively easy, but the ordeal made > me wonder if this tool could be moved to a package that is installed > by default to all systems, such as util-linux. [...] > What do you think, would the move and proposed updates be ok? I can't say I mind, and most of your proposed changes seem sensible, though I haven't reviewed them in enough detail to comment on them. Something that caught my eye here was comparing a string to _("all") which seems wrong, since that'd mean you'd have to type the translated version even on the command line? That seems really awkward (to put it charitably). However, at the same time, I have very little desire to get involved with util-linux as yet another project, so frankly I'd probably continue to "maintain" the current rfkill tool - which really hasn't changed in a very long time, and hope somebody else picks up maintenance of rfkill included in util-linux. johannes