X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=local%2Finitramfs-configure;h=1d0b26b68003e12e0bc66f14847bdf55c487b714;hp=683a0f74a0236164658bae3dc006bf8400c7149e;hb=344f65c397f046293ed2e5aa2b9dcd49337bdd71;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/local/initramfs-configure b/local/initramfs-configure index 683a0f7..1d0b26b 100755 --- a/local/initramfs-configure +++ b/local/initramfs-configure @@ -31,7 +31,7 @@ sudo install -m 644 -o root -g root /dev/stdin \ sudo sed -e '/^configure_networking /s/ &$//' \ -i /usr/share/initramfs-tools/scripts/init-premount/dropbear # NOTE: corrige une vermine : dropbear doit attendre que le réseau soit configuré.. -ssh-keygen -F "init.$local_fqdn" -f "$tool"/etc/openssh/known_hosts | +ssh-keygen -F "init.$local_fqdn" -f "$tool"/etc/ssh/known_hosts | ( while IFS= read -r line do case $line in (*" RSA") return 0; break;; esac done; return 1 ) ||