configure add-loopdev.sh for loopback