2b81d0dc87502b8b33161deb8ba66dfd842e756b max Mon Apr 14 07:30:53 2014 -0700 cosmetic changes to make gbib more distinct from main site and also toremove links that direct user back to main site (unless required, like suggestion box), refs #12717 diff --git src/browserbox/root/cleanVm.sh src/browserbox/root/cleanVm.sh index ef2f20b..54ea07f 100755 --- src/browserbox/root/cleanVm.sh +++ src/browserbox/root/cleanVm.sh @@ -39,15 +39,18 @@ # clean session info mysql hgcentral -e 'truncate sessionDb' mysql hgcentral -e 'truncate namedSessionDb' mysql hgcentral -e 'truncate userDb' mysql hgcentral -e 'truncate hubStatus' mysql hgcentral -e 'delete from gbMembers where userName<>"browser"' rm /var/spool/mail/browser # clean swap echo zapping swapfile swapoff /swapfile dd if=/dev/zero of=/swapfile bs=1M count=1024 chmod 600 /swapfile mkswap /swapfile + +# reset update time, make sure that the box will update itself on next restart ? +# rm /root/lastUpdateTime.flag