From: root Date: Sun, 26 Feb 2012 20:29:17 +0000 (-0500) Subject: stopped needing mdate to be built by using date stringer instead. X-Git-Tag: 2.140.90~1552 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=9822bd6f2cdfe1fa0b5e7e7721f9a2bcccc66f4f;p=feisty_meow.git stopped needing mdate to be built by using date stringer instead. --- diff --git a/scripts/system/write_uptime_report.sh b/scripts/system/write_uptime_report.sh index b4a35c17..e5dfb355 100644 --- a/scripts/system/write_uptime_report.sh +++ b/scripts/system/write_uptime_report.sh @@ -1,6 +1,7 @@ #!/bin/bash # writes an uptime report to a file in the home directory which is named # after the current machine's hostname. +source "$FEISTY_MEOW_DIR/scripts/core/functions.sh" export hosty=$(hostname | sed -e 's/^\([^.]*\).*$/\1/') export REPORT_FILE="$HOME/${hosty}_uptime.log" -echo "$($BINDIR/mdate) -- $(uptime)" >>"$REPORT_FILE" 2>&1 +echo "$(date_stringer) -- $(uptime)" >>"$REPORT_FILE" 2>&1