mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-03-10 18:57:28 +08:00
fix: Always remove PID file
This commit is contained in:
parent
09ca3bf118
commit
5b8b6fcb6a
@ -515,6 +515,9 @@ if [[ "$IP" == "172.17."* ]]; then
|
||||
warn "your container IP starts with 172.17.* which will cause conflicts when you install the Container Manager package inside DSM!"
|
||||
fi
|
||||
|
||||
# Clean up old files
|
||||
rm -f /var/run/dnsmasq.pid
|
||||
|
||||
if [[ -d "/sys/class/net/$VM_NET_TAP" ]]; then
|
||||
info "Lingering interface will be removed..."
|
||||
ip link delete "$VM_NET_TAP" || true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user