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:41:27 -0300 |
commit | 1f9a4b5498d52f433faf61077f921abab3246cd5 (patch) | |
tree | fad32c39e17f814377a91edbdcd0287de90f9004 | |
parent | f59c3243daee7f1cd40db27963e538c28d39b448 (diff) | |
download | pfsense-1f9a4b5498d52f433faf61077f921abab3246cd5.zip pfsense-1f9a4b5498d52f433faf61077f921abab3246cd5.tar.gz |
Retire snapshots_rotate_logfile()
-rwxr-xr-x | build.sh | 2 | ||||
-rw-r--r-- | tools/builder_common.sh | 14 |
2 files changed, 0 insertions, 16 deletions
@@ -373,8 +373,6 @@ fi echo ">>> Building image type(s): ${_IMAGESTOBUILD}" if [ -n "${SNAPSHOTS}" ]; then - snapshots_rotate_logfile - snapshots_update_status ">>> Starting snapshot build operations" if pkg update -r ${PRODUCT_NAME} >/dev/null 2>&1; then diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 7c29c49..780eb30 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -2474,20 +2474,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}" |