public inbox for eudev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: eudev@lists.gentoo.org
Cc: marcus.folkesson@gmail.com
Subject: [eudev] [PATCH] man: remove UDEV_LOG environment variable
Date: Mon,  4 Dec 2017 13:17:27 +0100	[thread overview]
Message-ID: <20171204121727.17602-1-marcus.folkesson@gmail.com> (raw)

Last time $UDEV_LOG was referred in code was in
dacd994fda3fadeb1fa01accbd37d61d0359e0ee.

Remove all traces for this legacy option.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
 man/udevd.8                       |  6 ------
 man/udevd.xml                     | 11 -----------
 rule_generator/write_net_rules.in |  7 -------
 3 files changed, 24 deletions(-)

diff --git a/man/udevd.8 b/man/udevd.8
index b7885f288..31c534c7d 100644
--- a/man/udevd.8
+++ b/man/udevd.8
@@ -84,12 +84,6 @@ Specify when udevd should resolve names of users and groups\&. When set to
 \fB\-\-help\fR
 .RS 4
 .RE
-.SH "ENVIRONMENT"
-.PP
-\fI$UDEV_LOG=\fR
-.RS 4
-Set the log level\&.
-.RE
 .SH "KERNEL COMMAND LINE"
 .PP
 Parameters starting with "rd\&." will be read when
diff --git a/man/udevd.xml b/man/udevd.xml
index cfbb79842..0e4cebd42 100644
--- a/man/udevd.xml
+++ b/man/udevd.xml
@@ -120,17 +120,6 @@
     </variablelist>
   </refsect1>
 
-  <refsect1><title>Environment</title>
-    <variablelist class='environment-variables'>
-      <varlistentry>
-        <term><varname>$UDEV_LOG=</varname></term>
-        <listitem>
-          <para>Set the log level.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
- </refsect1>
-
   <refsect1><title>Kernel command line</title>
     <variablelist class='kernel-commandline-options'>
       <para>Parameters starting with "rd." will be read when
diff --git a/rule_generator/write_net_rules.in b/rule_generator/write_net_rules.in
index 324e97821..ee608afb4 100644
--- a/rule_generator/write_net_rules.in
+++ b/rule_generator/write_net_rules.in
@@ -31,13 +31,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# debug, if UDEV_LOG=<debug>
-if [ -n "$UDEV_LOG" ]; then
-	if [ "$UDEV_LOG" -ge 7 ]; then
-		set -x
-	fi
-fi
-
 RULES_FILE='@udevconfdir@/rules.d/70-persistent-net.rules'
 
 . @udevlibexecdir@/rule_generator.functions
-- 
2.15.0



                 reply	other threads:[~2017-12-04 12:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20171204121727.17602-1-marcus.folkesson@gmail.com \
    --to=marcus.folkesson@gmail.com \
    --cc=eudev@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox