From 687dd3bfc40263cf6efdf46730bc9566c2a0d2ba Mon Sep 17 00:00:00 2001 From: BuGu <62454025+Z2Z-GuGu@users.noreply.github.com> Date: Sun, 4 Jan 2026 18:18:00 +0800 Subject: [PATCH] Fix the issue of old IP residue in static IP configuration --- kvmapp/system/init.d/S30eth | 1 + 1 file changed, 1 insertion(+) diff --git a/kvmapp/system/init.d/S30eth b/kvmapp/system/init.d/S30eth index 604a673..cd23a88 100755 --- a/kvmapp/system/init.d/S30eth +++ b/kvmapp/system/init.d/S30eth @@ -19,6 +19,7 @@ EOF } start() { + ip addr flush dev eth0 if [ -e /boot/eth.nodhcp ]; then while IFS= read -r line || [ -n "$line" ]; do line=$(clean_line "$line")