diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-02 13:36:39 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-12 14:02:36 -0300 |
commit | 1577befd4bbc9d90ff8bbfc2db8e870dd6675240 (patch) | |
tree | 25f0b0e08f7faf3bc8dce69ef14ca8561f18843f /tools/builder_common.sh | |
parent | acfbc96074782b5206d994cddfb701a80b8dfb04 (diff) | |
download | pfsense-1577befd4bbc9d90ff8bbfc2db8e870dd6675240.zip pfsense-1577befd4bbc9d90ff8bbfc2db8e870dd6675240.tar.gz |
Retire snapshots_rotate_logfile()
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r-- | tools/builder_common.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index cadcefc..2b8ec20 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -2473,20 +2473,6 @@ snapshots_update_status() { fi } -# Copy the current log file to $filename.old on -# the snapshot www server (real time logs) -snapshots_rotate_logfile() { - if [ -z "${DO_NOT_UPLOAD}" -a -n "${SNAPSHOTS_RSYNCIP}" ]; then - scp -q $SNAPSHOTSLOGFILE \ - ${SNAPSHOTS_RSYNCUSER}@${SNAPSHOTS_RSYNCIP}:${SNAPSHOTS_RSYNCLOGS}/build.log.old - fi - - # Cleanup log file - rm -f $SNAPSHOTSLOGFILE; touch $SNAPSHOTSLOGFILE - rm -f $SNAPSHOTSLASTUPDATE; touch $SNAPSHOTSLASTUPDATE - -} - create_sha256() { local _file="${1}" |