diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-02 13:36:39 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-02 13:36:39 -0300 |
commit | 5925de171cf61a0f338472195a4b9314d42655d8 (patch) | |
tree | 33fd07c92702bee1d9d2561814c90470a355c28c /tools | |
parent | acf4481fa9c12c1c90839155e50c3b2a05931a09 (diff) | |
download | pfsense-5925de171cf61a0f338472195a4b9314d42655d8.zip pfsense-5925de171cf61a0f338472195a4b9314d42655d8.tar.gz |
Retire snapshots_rotate_logfile()
Diffstat (limited to 'tools')
-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 b31428c..27f4766 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -2088,20 +2088,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}" |