X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F34-hosts;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F34-hosts;h=0000000000000000000000000000000000000000;hb=019fbefe5b29bb4e95808163f0cd645640cad30c;hp=d94353408ae27c71cce4447d32d902b83f975450;hpb=9a1ee76bc3fa423968d666e36422000e4ee979d6;p=grml-live-grml.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/34-hosts b/etc/grml/fai/config/scripts/GRMLBASE/34-hosts deleted file mode 100755 index d943534..0000000 --- a/etc/grml/fai/config/scripts/GRMLBASE/34-hosts +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/34-hosts -# Purpose: configure /etc/hosts of live-system -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2 or any later version. -################################################################################ - -set -u -set -e - -HOSTNAME='' -[ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf -[ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local -[ -n "$HOSTNAME" ] || HOSTNAME=grml - -fcopy -v /etc/hosts - -# replace $HOSTNAME with the real hostname: -sed -i "s/\$HOSTNAME/$HOSTNAME/" $target/etc/hosts - -## END OF FILE ################################################################# -# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2