forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-14 9c26bd2fb3d1b04cfe748cd7a8d8883feff5250f
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