From 5380e7986ef3e19c666b155665a845bef506aff9 Mon Sep 17 00:00:00 2001 From: Bob Motram Date: Mon, 9 Feb 2015 13:25:08 +0000 Subject: [PATCH] More generic --- src/freedombone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index 8c5796a6..916bd8dc 100755 --- a/src/freedombone +++ b/src/freedombone @@ -4288,7 +4288,7 @@ function set_your_domain_name { fi echo "$DEFAULT_DOMAIN_NAME" > /etc/hostname hostname $DEFAULT_DOMAIN_NAME - sed -i "s/127.0.1.1 arm/127.0.1.1 $DEFAULT_DOMAIN_NAME/g" /etc/hosts + sed -i "s/127.0.1.1.*/127.0.1.1 $DEFAULT_DOMAIN_NAME/g" /etc/hosts echo "127.0.1.1 $DEFAULT_DOMAIN_NAME" >> /etc/hosts echo 'set_your_domain_name' >> $COMPLETION_FILE }