Rename wild-cloud → wild-central for all managed config files and nftables table
Completes the naming separation: nftables table, rules file, dnsmasq config, resolved config, systemd unit, sudoers rule, and temp files now all use the wild-central name.
This commit is contained in:
8
dist/debian/DEBIAN/postrm
vendored
8
dist/debian/DEBIAN/postrm
vendored
@@ -18,14 +18,14 @@ case "$1" in
|
||||
fi
|
||||
|
||||
# Remove dnsmasq configuration
|
||||
if [ -f /etc/dnsmasq.d/wild-cloud.conf ]; then
|
||||
rm -f /etc/dnsmasq.d/wild-cloud.conf
|
||||
if [ -f /etc/dnsmasq.d/wild-central.conf ]; then
|
||||
rm -f /etc/dnsmasq.d/wild-central.conf
|
||||
echo "Removed dnsmasq configuration"
|
||||
fi
|
||||
|
||||
# Remove systemd-resolved configuration
|
||||
if [ -f /etc/systemd/resolved.conf.d/wild-cloud.conf ]; then
|
||||
rm -f /etc/systemd/resolved.conf.d/wild-cloud.conf
|
||||
if [ -f /etc/systemd/resolved.conf.d/wild-central.conf ]; then
|
||||
rm -f /etc/systemd/resolved.conf.d/wild-central.conf
|
||||
echo "Removed systemd-resolved configuration"
|
||||
systemctl restart systemd-resolved 2>/dev/null || true
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user