diff options
Diffstat (limited to 'init.d/hostname')
-rwxr-xr-x | init.d/hostname | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/hostname b/init.d/hostname index 47c200a..0037aab 100755 --- a/init.d/hostname +++ b/init.d/hostname @@ -16,16 +16,16 @@ start() { fi if [[ -f /etc/hostname ]] ; then - ewarn "You should stop using /etc/hostname and use /etc/conf.d/hostname" + ewarn $"You should stop using /etc/hostname and use /etc/conf.d/hostname" myhost=$(</etc/hostname) else myhost=${HOSTNAME} fi - ebegin "Setting hostname to ${myhost}" + ebegin $"Setting hostname to" ${myhost} hostname "${myhost}" retval=$? - eend ${retval} "Failed to set the hostname" + eend ${retval} $"Failed to set the hostname" if [[ ${retval} -eq 0 ]] ; then # setup $HOSTNAME, ignore errors in case /etc is readonly. |