Gentoo Archives: eudev

From: Marcus Folkesson <marcus.folkesson@×××××.com>
To: eudev@l.g.o
Cc: marcus.folkesson@×××××.com
Subject: [eudev] [PATCH] man: remove UDEV_LOG environment variable
Date: Mon, 04 Dec 2017 12:17:38
Message-Id: 20171204121727.17602-1-marcus.folkesson@gmail.com
1 Last time $UDEV_LOG was referred in code was in
2 dacd994fda3fadeb1fa01accbd37d61d0359e0ee.
3
4 Remove all traces for this legacy option.
5
6 Signed-off-by: Marcus Folkesson <marcus.folkesson@×××××.com>
7 ---
8 man/udevd.8 | 6 ------
9 man/udevd.xml | 11 -----------
10 rule_generator/write_net_rules.in | 7 -------
11 3 files changed, 24 deletions(-)
12
13 diff --git a/man/udevd.8 b/man/udevd.8
14 index b7885f288..31c534c7d 100644
15 --- a/man/udevd.8
16 +++ b/man/udevd.8
17 @@ -84,12 +84,6 @@ Specify when udevd should resolve names of users and groups\&. When set to
18 \fB\-\-help\fR
19 .RS 4
20 .RE
21 -.SH "ENVIRONMENT"
22 -.PP
23 -\fI$UDEV_LOG=\fR
24 -.RS 4
25 -Set the log level\&.
26 -.RE
27 .SH "KERNEL COMMAND LINE"
28 .PP
29 Parameters starting with "rd\&." will be read when
30 diff --git a/man/udevd.xml b/man/udevd.xml
31 index cfbb79842..0e4cebd42 100644
32 --- a/man/udevd.xml
33 +++ b/man/udevd.xml
34 @@ -120,17 +120,6 @@
35 </variablelist>
36 </refsect1>
37
38 - <refsect1><title>Environment</title>
39 - <variablelist class='environment-variables'>
40 - <varlistentry>
41 - <term><varname>$UDEV_LOG=</varname></term>
42 - <listitem>
43 - <para>Set the log level.</para>
44 - </listitem>
45 - </varlistentry>
46 - </variablelist>
47 - </refsect1>
48 -
49 <refsect1><title>Kernel command line</title>
50 <variablelist class='kernel-commandline-options'>
51 <para>Parameters starting with "rd." will be read when
52 diff --git a/rule_generator/write_net_rules.in b/rule_generator/write_net_rules.in
53 index 324e97821..ee608afb4 100644
54 --- a/rule_generator/write_net_rules.in
55 +++ b/rule_generator/write_net_rules.in
56 @@ -31,13 +31,6 @@
57 # You should have received a copy of the GNU General Public License
58 # along with this program. If not, see <http://www.gnu.org/licenses/>.
59
60 -# debug, if UDEV_LOG=<debug>
61 -if [ -n "$UDEV_LOG" ]; then
62 - if [ "$UDEV_LOG" -ge 7 ]; then
63 - set -x
64 - fi
65 -fi
66 -
67 RULES_FILE='@udevconfdir@/rules.d/70-persistent-net.rules'
68
69 . @udevlibexecdir@/rule_generator.functions
70 --
71 2.15.0