annotate bin/ubuntu_updated.sh @ 709:c24a1b531b7e

move isrunning to a shell script and kill killbyname since there is pkill nowadays
author Jeff Hammel <k0scist@gmail.com>
date Fri, 05 Sep 2014 14:55:11 -0700
parents 2e33cd82af58
children 570ace9ed7c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
364
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/bin/bash
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 # script to see if ubuntu is up to date
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 # -s = dry run
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 if apt-get update -y
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 then
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 apt-get -u -s upgrade
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 fi