public inbox for eudev@lists.gentoo.org
 help / color / mirror / Atom feed
* [eudev] [PATCH] man: remove UDEV_LOG environment variable
@ 2017-12-04 12:17 Marcus Folkesson
  0 siblings, 0 replies; only message in thread
From: Marcus Folkesson @ 2017-12-04 12:17 UTC (permalink / raw
  To: eudev; +Cc: marcus.folkesson

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-04 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-04 12:17 [eudev] [PATCH] man: remove UDEV_LOG environment variable Marcus Folkesson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox