Browse Source

More generic

Bob Motram 10 years ago
parent
commit
5380e7986e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone

+ 1
- 1
src/freedombone View File

4288
   fi
4288
   fi
4289
   echo "$DEFAULT_DOMAIN_NAME" > /etc/hostname
4289
   echo "$DEFAULT_DOMAIN_NAME" > /etc/hostname
4290
   hostname $DEFAULT_DOMAIN_NAME
4290
   hostname $DEFAULT_DOMAIN_NAME
4291
-  sed -i "s/127.0.1.1       arm/127.0.1.1       $DEFAULT_DOMAIN_NAME/g" /etc/hosts
4291
+  sed -i "s/127.0.1.1.*/127.0.1.1       $DEFAULT_DOMAIN_NAME/g" /etc/hosts
4292
   echo "127.0.1.1  $DEFAULT_DOMAIN_NAME" >> /etc/hosts
4292
   echo "127.0.1.1  $DEFAULT_DOMAIN_NAME" >> /etc/hosts
4293
   echo 'set_your_domain_name' >> $COMPLETION_FILE
4293
   echo 'set_your_domain_name' >> $COMPLETION_FILE
4294
 }
4294
 }