aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-03-15 23:31:12 +0100
committerThomas Bächler <thomas@archlinux.org>2011-03-17 22:28:57 +0100
commite9b658239f45d858ff7b30b46441b8733d20f151 (patch)
tree0ce87bff0035989b046c4a7cac88f9a4988c9641 /rc.sysinit
parentca372312062e7843ca69e2edd54b58ab609a69ee (diff)
downloadinitscripts-e9b658239f45d858ff7b30b46441b8733d20f151.tar.xz
udev: do not automatically save persistent net/cd udev rules to /etc on boot
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@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit8
1 files changed, 0 insertions, 8 deletions
diff --git a/rc.sysinit b/rc.sysinit
index bdf0538..9797611 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -396,14 +396,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