27 Jun
2011
27 Jun
'11
9:33 p.m.
--- rc.sysinit | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rc.sysinit b/rc.sysinit index 889a0b9..3051684 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -223,9 +223,10 @@ stat_busy "Removing Leftover Files" mkdir -m 1777 /tmp/.{X11,ICE}-unix stat_done -[[ $HOSTNAME ]] && - status "Setting Hostname: $HOSTNAME" \ - eval 'echo "$HOSTNAME" >| /proc/sys/kernel/hostname' +if [[ $HOSTNAME ]]; then + stat_busy "Setting Hostname: $HOSTNAME" + echo "$HOSTNAME" >| /proc/sys/kernel/hostname && stat_done || stat_fail +fi # Flush old locale settings and set user defined locale status "Setting Locale: ${LOCALE:=en_US}" \ -- 1.7.1