summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-06-06 02:06:34 +0200
committerTom Gundersen <teg@jklm.no>2011-06-06 02:06:34 +0200
commit36f31f686374ae3f2311f8674e0a91022d502576 (patch)
tree08980c2e49a2dc5e92d2f7675b8b32707e2b1797
parent2de44ef544862f3ce9144a16c5158ed771fec6de (diff)
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 <teg@jklm.no>
-rwxr-xr-xrc.sysinit9
1 files changed, 0 insertions, 9 deletions
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