[PATCH] udev: do not automatically save persistent net/cd udev rules to /etc on boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



udev contains rules to generate persistent symlinks, if they do not work
as intendend this should be reported upstream.

Furthermore, upstream discourages using /dev/.udev as its format might
change at any time. As of upstream commit 5f59fa0900a5 the location has
changed to /dev/.run/udev, so we would have to make a change either way.

Signed-off-by: Tom Gundersen <teg@xxxxxxx>
---
 rc.sysinit |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 4b24098..ef8077a 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -371,14 +371,6 @@ fi
 # Set console font if required
 set_consolefont
 
-# Adding persistent network/cdrom generated rules
-for f in cd net; do
-    [[ -f /dev/.udev/tmp-rules--70-persistent-$f.rules ]] || continue
-    stat_busy "Adding persistent $f udev rules"
-    /bin/cat "/dev/.udev/tmp-rules--70-persistent-$f.rules" >> "/etc/udev/rules.d/70-persistent-$f.rules"
-    stat_done
-done
-
 /bin/dmesg >| /var/log/dmesg.log
 
 # final hwclock setting needs to be done at this point
-- 
1.7.4.1



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux