Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /usr/lib/ifupdown/ |
Upload File : |
#!/bin/sh attempts=${IF_LL_ATTEMPTS:-60} delay=${IF_LL_INTERVAL:-0.1} for attempt in $(seq 1 $attempts); do lladdress=$(ip -6 -o a s dev "$IFACE" scope link -tentative) if [ -n "$lladdress" ]; then attempt=0 break fi sleep $delay done if [ $attempt -eq $attempts ]; then echo "Could not get a link-local address" exit 1 fi