diff options
Diffstat (limited to 'dracut/90zfs/zfs-genrules.sh')
-rwxr-xr-x | dracut/90zfs/zfs-genrules.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/dracut/90zfs/zfs-genrules.sh b/dracut/90zfs/zfs-genrules.sh deleted file mode 100755 index ffbd51ff1..000000000 --- a/dracut/90zfs/zfs-genrules.sh +++ /dev/null @@ -1,12 +0,0 @@ -if [ "${root%%:*}" = "zfs" ]; then - [ -d /dev/.udev/rules.d ] || mkdir -p /dev/.udev/rules.d - { - printf 'KERNEL=="%s", SYMLINK+="root"\n' null - printf 'SYMLINK=="%s", SYMLINK+="root"\n' null - } >> /dev/.udev/rules.d/99-zfs.rules - - printf '[ -e "%s" ] && { ln -s "%s" /dev/root 2>/dev/null; rm "$job"; }\n' \ - "/dev/null" "/dev/null" >> /initqueue-settled/zfssymlink.sh - - echo '[ -e /dev/root ]' > /initqueue-finished/zfs.sh -fi |