#!/bin/bash
mv 50-ifup-hooks /etc/network/interfaces.d
mv /etc/network/interfaces /etc/network/interfaces.bkp
mv interfaces /etc/network
nano /etc/network/interfaces
bash /etc/network/interfaces.d/50-ifup-hooks
ip a