From 36f31f686374ae3f2311f8674e0a91022d502576 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 6 Jun 2011 02:06:34 +0200 Subject: udev: remove rule generation This has been removed from the udev package, so this code would never be executed. Can finally be removed. Signed-off-by: Tom Gundersen --- rc.sysinit | 9 --------- 1 file changed, 9 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 7b42388..3531a88 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -354,15 +354,6 @@ fi # Set console font if required set_consolefont -# Adding persistent network/cdrom generated rules -# When the rules are generated before /etc is mounted rw they are saved to /run, -# we therefore need to copy this from /run to /etc. This functionality is going away one day. -for f in cd net; do - [[ -f /run/udev/tmp-rules--70-persistent-$f.rules ]] || continue - status "Adding persistent $f udev rules" \ - cat "/run/udev/tmp-rules--70-persistent-$f.rules" >> "/etc/udev/rules.d/70-persistent-$f.rules" -done - dmesg >| /var/log/dmesg.log run_hook sysinit_end -- cgit v1.2.3-54-g00ecf