[Git-commits] [grml/grml-autoconfig] 47ab27: No longer execute hostname command if hostname opt...

Michael Prokop mika at grml.org
Fri Jun 22 22:35:08 CEST 2012


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-autoconfig
  Commit: 47ab27a118a07d139b2bd379f48e5e066337700b
      https://github.com/grml/grml-autoconfig/commit/47ab27a118a07d139b2bd379f48e5e066337700b
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-06-22 (Fri, 22 Jun 2012)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  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.





More information about the Git-commits mailing list