No longer execute hostname command if hostname option is not present
authorMichael Prokop <mika@grml.org>
Fri, 22 Jun 2012 20:32:00 +0000 (22:32 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 22 Jun 2012 20:32:00 +0000 (22:32 +0200)
commit47ab27a118a07d139b2bd379f48e5e066337700b
tree15587655a984a53ce364ec60bca874130cf3c6b2
parent01fe103a2d86658adb1b3574529c8c8828891e1d
No longer execute hostname command if hostname option is not present

There's no need to execute the hostname command if the boot
option hostname is not present as /etc/init.d/hostname.sh is
executed on Grml during bootup. We keep the config_hostname()
only because we support setting it to a random hostname if no
argument was specified to the boot option and to keep using
grml-hostname as main interface for changing hostnames
on-the-fly.
autoconfig.functions