[arch-projects] [PATCH] [initscripts] Fix copy&paste /dev/.udev -> /run/udev

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Mon May 9 03:10:32 EDT 2011


Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 rc.sysinit |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index d9d3d27..1521299 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -376,7 +376,7 @@ set_consolefont
 # 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 /dev/.udev/tmp-rules--70-persistent-$f.rules ]] || continue
+    [[ -f /run/udev/tmp-rules--70-persistent-$f.rules ]] || continue
     stat_busy "Adding persistent $f udev rules"
     /bin/cat "/run/udev/tmp-rules--70-persistent-$f.rules" >> "/etc/udev/rules.d/70-persistent-$f.rules"
     stat_done
-- 
1.7.5.1



More information about the arch-projects mailing list