wit-network-config/files/dhcp-loopback

7 lines
142 B
Bash
Executable File

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