moving back to tier_id from loopback since we need that in more cases than just loopback

This commit is contained in:
root 2018-08-08 21:45:07 +00:00
parent 933901f933
commit 6739750f31
1 changed files with 3 additions and 3 deletions

View File

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