~pvigo/+junk/tfreezer

« back to all changes in this revision

Viewing changes to debian/tfreezer/usr/share/tfreezer/inici-sistema.sh

  • Committer: Pablo Vigo
  • Date: 2014-10-03 11:00:51 UTC
  • Revision ID: pvigo@xtec.cat-20141003110051-1uvkh8wonoqd0hty
1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
if [ $? -gt 0 ] ; then
14
14
        mv /etc/rc.local /etc/rc.local.tf.bak
15
15
        sed 's/^exit 0/#tfreezer \ndate >> \/var\/log\/tfreezer.log \n\/usr\/bin\/tfreezer -r -a >> \/var\/log\/tfreezer.log \n\nexit 0/g' /etc/rc.local.tf.bak > /etc/rc.local
 
16
        chmod +x /etc/rc.local
16
17
fi