wit-network-config/files/dhcp-loopback

7 lines
146 B
Plaintext
Raw Normal View History

#!/bin/bash
if [ ! -z $new_loopback ]; then
sed -ie '/^LOOPBACK=.*/d' /etc/environment
echo "LOOPBACK=$new_loopback" >>/etc/environment
fi