fix: init scripts not executable, add autologin and build version in motd
- bee-* init.d scripts had mode 644 in git — OpenRC silently skipped them, causing bee-network/bee-nvidia/bee-audit to never start at boot - bee-network.sh also lacked executable bit - Remove -q from udhcpc (was quitting after first lease, no renewal) - Add autologin root on tty1 via /etc/inittab - Inject build date + git commit + versions into motd at build time Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,9 +23,9 @@ for iface in $interfaces; do
|
||||
ip link set "$iface" up 2>/dev/null || { log "WARN: could not bring up $iface"; continue; }
|
||||
|
||||
# DHCP: run in background (-b) so udhcpc persists and retries when cable is connected later.
|
||||
# -t 0: unlimited retries, -T 3: 3s per attempt.
|
||||
udhcpc -i "$iface" -b -t 0 -T 3 -q 2>/dev/null &
|
||||
log "DHCP started for $iface (background, will retry until lease acquired)"
|
||||
# -t 0: unlimited retries, -T 3: 3s per attempt. No -q: stay running to renew lease.
|
||||
udhcpc -i "$iface" -b -t 0 -T 3
|
||||
log "DHCP started for $iface (background, will retry and renew lease)"
|
||||
done
|
||||
|
||||
log "done"
|
||||
|
||||
Reference in New Issue
Block a user