From: Michael Tremer Date: Fri, 17 Jul 2009 13:43:26 +0000 (+0200) Subject: Make HOSTNAME configureable in .config. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a434341489664a0cb95fd501f165e9ba9b41730d;p=ipfire-3.x.git Make HOSTNAME configureable in .config. --- diff --git a/tools/make-constants b/tools/make-constants index 99a40924e..51c956ff3 100644 --- a/tools/make-constants +++ b/tools/make-constants @@ -55,7 +55,7 @@ BUILD_DEBUG=0 PARALLELISMFLAGS=-j$(( $(grep processor < /proc/cpuinfo | wc -l) * 2 + 1 )) # Default hostname -HOSTNAME=$(hostname -f || hostname) +HOSTNAME=${HOSTNAME-$(cat /proc/sys/kernel/hostname)} # Default scheduler ICECC_SCHEDULER="minerva.ipfire.org"