X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fwrite_uptime_report.sh;h=0220b334dc97af5a1b47121addab1e0d0f46b877;hb=e7ace7a4aacb5178f5c33fd49f2479622d929679;hp=e9627f5ffb22e9a36a066bcd4170709e9914ed5d;hpb=c041a073fe44baafa4ebcb516c7d377d52fff054;p=feisty_meow.git diff --git a/scripts/system/write_uptime_report.sh b/scripts/system/write_uptime_report.sh index e9627f5f..0220b334 100644 --- a/scripts/system/write_uptime_report.sh +++ b/scripts/system/write_uptime_report.sh @@ -1,7 +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_SCRIPTS/core/functions.sh" +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" export hosty=$(hostname | sed -e 's/^\([^.]*\).*$/\1/') export REPORT_FILE="$HOME/${hosty}_uptime.log" echo "$(date_stringer) -- $(uptime)" >>"$REPORT_FILE" 2>&1