##// END OF EJS Templates
tsetgin
Unknown -
r690:c4c328b683ca
parent child
Show More
@@ -55,10 +55,10 if [ "$ENABLE_INITRAMFS" = true ] ; then
55 NET_MASK=$(cdr2mask "$cdir")
55 NET_MASK=$(cdr2mask "$cdir")
56
56
57 # Write static ip settings to "${ETC_DIR}"/initramfs-tools/initramfs.conf
57 # Write static ip settings to "${ETC_DIR}"/initramfs-tools/initramfs.conf
58 sed -i "\$aIP=${NET_ADDRESS}::${NET_GATEWAY}:${NET_MASK}:${HOSTNAME}:" "${ETC_DIR}"/initramfs-tools/initramfs.conf
58 sed -i "\$a\nIP=${NET_ADDRESS}::${NET_GATEWAY}:${NET_MASK}:${HOSTNAME}:" "${ETC_DIR}"/initramfs-tools/initramfs.conf
59
59
60 #Regenerate initramfs
60 #Regenerate initramfs
61 chroot_exec mkinitramfs -o "/boot/firmware/initramfs-${KERNEL_VERSION}" "${KERNEL_VERSION}"
61 #chroot_exec mkinitramfs -o "/boot/firmware/initramfs-${KERNEL_VERSION}" "${KERNEL_VERSION}"
62 fi
62 fi
63
63
64 if [ -n "$CRYPTFS_DROPBEAR_PUBKEY" ] && [ -f "$CRYPTFS_DROPBEAR_PUBKEY" ] ; then
64 if [ -n "$CRYPTFS_DROPBEAR_PUBKEY" ] && [ -f "$CRYPTFS_DROPBEAR_PUBKEY" ] ; then
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant