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

Tom Gundersen teg at jklm.no
Mon May 9 04:27:09 EDT 2011


Thanks!

On Mon, May 9, 2011 at 9:10 AM, Gerardo Exequiel Pozzi
<vmlinuz386 at yahoo.com.ar> wrote:
> 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