Skip to content

Commit be74547

Browse files
authored
initramfs: redirect 'ip route' output to null (#525)
this silences the spurious "ipv4: FIB table does not exist" error
1 parent 321fc34 commit be74547

File tree

1 file changed

+1
-1
lines changed
  • src/initramfs-tools/scripts/local-bottom

1 file changed

+1
-1
lines changed

src/initramfs-tools/scripts/local-bottom/clevis.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ for iface in /sys/class/net/*; do
5858
iface=$(basename "$iface")
5959
ip link set dev "$iface" down
6060
ip addr flush dev "$iface"
61-
ip route flush dev "$iface"
61+
ip route flush dev "$iface" > /dev/null 2>&1
6262
fi
6363
done

0 commit comments

Comments
 (0)