forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-08-30 862c27fc9920c83318c784bfdadf43a65df1ec8f
1
2
3
4
5
6
7
8
#!/bin/sh
 
if [ ! -s /etc/bind/rndc.key ]; then
    echo -n "Generating /etc/bind/rndc.key:"
    /usr/sbin/rndc-confgen -a -b 512
    chown root:bind /etc/bind/rndc.key
    chmod 0640 /etc/bind/rndc.key
fi