unbound: Drop certificates for local control connection
[ipfire-2.x.git] / src / initscripts / system / unbound
index 08007f5..2ef994e 100644 (file)
@@ -507,11 +507,6 @@ case "$1" in
 
                eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
 
 
                eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
 
-               # Create control keys at first run
-               if [ ! -r "/etc/unbound/unbound_control.key" ]; then
-                       unbound-control-setup -d /etc/unbound &>/dev/null
-               fi
-
                # Update configuration files
                write_tuning_conf
                write_forward_conf
                # Update configuration files
                write_tuning_conf
                write_forward_conf