aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/lsb/init-functions
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts/contrib/lsb-v3/lsb/init-functions')
-rw-r--r--bootscripts/contrib/lsb-v3/lsb/init-functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootscripts/contrib/lsb-v3/lsb/init-functions b/bootscripts/contrib/lsb-v3/lsb/init-functions
index 76c99969b..b37eeb32f 100644
--- a/bootscripts/contrib/lsb-v3/lsb/init-functions
+++ b/bootscripts/contrib/lsb-v3/lsb/init-functions
@@ -447,7 +447,7 @@ log_success_msg()
if [ $( hostname ) = "(none)" ]; then
BTTIMESPEC=""
else
- BTTIMESPEC="$(echo `date +"%b %d %T"` `hostname`) "
+ BTTIMESPEC="$(echo `date -u +"%b %d %T"` `hostname`) "
fi
echo "${BTTIMESPEC}bootlog: ${@} Successful" >> "${TEMPFS_MOUNT}/.bootlog"
fi
@@ -474,7 +474,7 @@ log_failure_msg()
if [ $( hostname ) = "(none)" ]; then
BTTIMESPEC=""
else
- BTTIMESPEC="$(echo `date +"%b %d %T"` `hostname`) "
+ BTTIMESPEC="$(echo `date -u +"%b %d %T"` `hostname`) "
fi
echo "${BTTIMESPEC}bootlog: ${@} Failed!" >> "${TEMPFS_MOUNT}/.bootlog"
fi
@@ -501,7 +501,7 @@ log_warning_msg()
if [ $( hostname ) = "(none)" ]; then
BTTIMESPEC=""
else
- BTTIMESPEC="$(echo `date +"%b %d %T"` `hostname`) "
+ BTTIMESPEC="$(echo `date -u +"%b %d %T"` `hostname`) "
fi
echo "${BTTIMESPEC}bootlog: ${@} Warning" >> "${TEMPFS_MOUNT}/.bootlog"
fi