[Initng-svn] r2727 - initng/initfiles/system
svn at initng.thinktux.net
svn at initng.thinktux.net
Thu Jan 5 01:43:03 CET 2006
Author: deac
Date: Thu Jan 5 01:43:02 2006
New Revision: 2727
Modified:
initng/initfiles/system/hostname.ii
Log:
no, it was not seted
Modified: initng/initfiles/system/hostname.ii
==============================================================================
--- initng/initfiles/system/hostname.ii (original)
+++ initng/initfiles/system/hostname.ii Thu Jan 5 01:43:02 2006
@@ -13,11 +13,7 @@
# If the hostname is already set via the kernel, and /etc/hostname
# isn't setup, then we shouldn't go reseting the configuration #38172.
- if [ -n "${myhost}" -a "${myhost}" != "(none)" ]
- then
- echo "Hostname alredy set"
- exit 0
- fi
+ [ -z "${myhost}" -o "${myhost}" = "(none)" ] && myhost="localhost"
if [ -f /etc/hostname ]
then
More information about the Initng-svn
mailing list