---
 rc.sysinit |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index b6612ff..078daf3 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -224,14 +224,14 @@ stat_busy "Removing Leftover Files"
 stat_done
 
 if [[ $HOSTNAME ]]; then
-       stat_busy "Setting Hostname: $HOSTNAME"
-       echo "$HOSTNAME" >| /proc/sys/kernel/hostname && stat_done || stat_fail
+       status "Setting Hostname: $HOSTNAME" \
+               echo "$HOSTNAME" >| /proc/sys/kernel/hostname
 fi
 
 # Flush old locale settings and set user defined locale
-stat_busy "Setting Locale: ${LOCALE:=en_US}"
-       echo "export LANG=$LOCALE" > /etc/profile.d/locale.sh &&
-       chmod 0755 /etc/profile.d/locale.sh && stat_done || stat_fail
+status "Setting Locale: ${LOCALE:=en_US}" \
+       echo "export LANG=$LOCALE" > /etc/profile.d/locale.sh
+chmod 0755 /etc/profile.d/locale.sh
 
 if [[ ${LOCALE,,} =~ utf ]]; then
        stat_busy "Setting Consoles to UTF-8 mode"
-- 
1.7.1

Reply via email to