Skip to content

Commit bbb46f6

Browse files
committed
restore named.conf if nec
1 parent 4bf7fef commit bbb46f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cron.sh

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ trap finish EXIT
3232

3333
cd /var/named
3434

35+
if [ -e named.conf ]; then
36+
# probably trampled by a dnf update
37+
git restore named.conf
38+
fi
39+
3540
source env.sh
3641

3742
# ----------------------------------------------------------

0 commit comments

Comments
 (0)