This commit is contained in:
Bob Mottram 2016-10-22 22:36:07 +01:00
parent dc4e2405db
commit afdc69b3da
1 changed files with 1 additions and 4 deletions

View File

@ -1275,10 +1275,7 @@ function set_dynamic_IP {
esac
if [ $revert_to_dynamic ]; then
remove_config_param "NETWORK_IS_STATIC"
if [ -f /etc/network/interfaces_original ]; then
cp /etc/network/interfaces_original /etc/network/interfaces
fi
wifi_original_network_settings
clear
echo ''
echo $'Changing to a dynamic IP address.'