🔥 Sync 2026-07-19 20:20:12

This commit is contained in:
github-actions[bot] committed 2026-07-19 20:20:12 +08:00
1 parent 8570b2d838
commit 0e974e420a
29 files changed
+1161 -1032

No files matched your search

+5 -1
View File
@@ -15,9 +15,13 @@ daed_cleanup_runtime() {
fi
if ! ip netns del daens 2>/dev/null; then
umount /run/netns/daens 2>/dev/null
umount -l /run/netns/daens 2>/dev/null
rm -f /run/netns/daens
fi
ip link del dae0 2>/dev/null || true
[ ! -e /run/netns/daens ] || return 1
! ip netns list 2>/dev/null | awk '$1 == "daens" { found=1 } END { exit !found }' || return 1
! ip link show dae0 >/dev/null 2>&1 || return 1
}
+4 -1
View File
@@ -2,5 +2,8 @@
. /usr/share/daed/cleanup.sh
daed_cleanup_runtime
if ! daed_cleanup_runtime; then
echo "daed: stale network state could not be removed" >&2
exit 1
fi
exec /usr/bin/daed "$@"