diff options
author | Roy Marples <roy@marples.name> | 2009-04-27 07:51:18 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-27 07:51:18 +0000 |
commit | e70a1429564a8fce5036c351b010a47dbb6c28b7 (patch) | |
tree | a1fc0f75a53041771bc9054fdab517ac32b3d79a /init.d/hostname.in | |
parent | eaa32c75c9bba7af0ec842d82f56a6862bbc83db (diff) |
Style.
Diffstat (limited to 'init.d/hostname.in')
-rw-r--r-- | init.d/hostname.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/hostname.in b/init.d/hostname.in index 6266fe9e..8466915b 100644 --- a/init.d/hostname.in +++ b/init.d/hostname.in @@ -1,5 +1,5 @@ #!@PREFIX@/sbin/runscript -# Copyright 2007-2008 Roy Marples <roy@marples.name> +# Copyright 2007-2009 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. description="Sets the hostname of the machine." @@ -11,7 +11,7 @@ depend() { start() { hostname=${hostname-${HOSTNAME-localhost}} - ebegin "Setting hostname to ${hostname}" - hostname "${hostname}" + ebegin "Setting hostname to $hostname" + hostname "$hostname" eend $? "Failed to set the hostname" } |