aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/lsb
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-09-07 16:27:29 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-09-07 16:27:29 +0000
commit67de919e34eb1cdac578c60de56097928389ac6a (patch)
tree2cfce04b79bd14f8a3b244beb457510e8ea7cc0b /bootscripts/contrib/lsb-v3/lsb
parent8b50d8657d1e44466ea0d9d9b4b53609a1ba8efe (diff)
Use new initd-tools package, store log times in UTC, use soft depenendencies for minimal install target
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8558 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/lsb')
-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