From: Adolf Belka Date: Fri, 5 Jun 2026 16:40:20 +0000 (+0200) Subject: backup.pl: unbound entries not needed with knot in place X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6069f76c7fa5e33795c3ad264d2e016ec16efb1;p=ipfire-2.x.git backup.pl: unbound entries not needed with knot in place - With the change from unbound to knot the unbound specific user and group no longer need to be created and any restored /etc/unbound directory can also be removed Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer --- diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 417d33f40..cfd1ac40f 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -112,13 +112,8 @@ restore_backup() { -s /bin/false \ -u 52 dhcpcd - # create unbound user - groupadd -g 103 unbound - useradd -c 'unbound User' \ - -d /var/empty \ - -g unbound \ - -s /bin/false \ - -u 103 unbound + # Remove any unbound directory that is restored + rm -Rf /etc/unbound/ # Create Knot Resolver group if ! getent group knot-resolver &>/dev/null; then