wok rev 25831

Fix bind init, rndc-confgen -r option is deprecated
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 29 08:08:18 2025 +0000 (6 weeks ago)
parents 617c514b217b
children a852cf9b7c1f
files bind/stuff/etc/init.d/named
line diff
     1.1 --- a/bind/stuff/etc/init.d/named	Sat Apr 26 17:25:49 2025 +0000
     1.2 +++ b/bind/stuff/etc/init.d/named	Tue Apr 29 08:08:18 2025 +0000
     1.3 @@ -14,7 +14,7 @@
     1.4  OPTIONS=$NAMED_OPTIONS
     1.5  PIDFILE=/var/run/named.pid
     1.6  #[ -n "$OPTIONS" ] || OPTIONS="-u nobody"
     1.7 -[ -f /etc/bind/rndc.key ] || rndc-confgen -r /dev/urandom -a
     1.8 +[ -f /etc/bind/rndc.key ] || rndc-confgen -b 512 -a
     1.9  
    1.10  case "$1" in
    1.11    start)