Skip to content
  • Natanael Copa's avatar
    main/busybox-initscripts: fix /dev/fd symlink · 6438be23
    Natanael Copa authored
    ref #1465
    
    I think the initramfs create /dev/fd as a dir. When mdev-mount later runs
    'ln -snf /proc/self/fd /dev/fd' the 'fd' symlink ends up as /dev/fd/fd.
    
    We fix this by always remove /dev/fd before creating the symlink.
    (cherry picked from commit 20dfee5a)
    6438be23