~ubuntu-branches/ubuntu/utopic/cloud-init/utopic

« back to all changes in this revision

Viewing changes to upstart/cloud-init-blocknet.conf

  • Committer: Scott Moser
  • Date: 2014-09-23 18:20:05 UTC
  • mfrom: (1.4.25)
  • Revision ID: smoser@ubuntu.com-20140923182005-gp55yebtju8eleoq
* New upstream snapshot.
  * cc_grub_dpkg: consider /dev/xvda as candidate for grub installation
    (LP: #1336855)
  * resizefs: fix backgrounding of resizefs (LP: #1338614) 
  * cloud-init-blocknet: remove debug code

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
script
16
16
   set +e  # you cannot trap TERM reliably with 'set -e'
17
17
   SLEEP_CHILD=""
18
 
   LOG="/run/${UPSTART_JOB}.log"
19
18
 
20
19
   static_network_up() {
21
20
      local emitted="/run/network/static-network-up-emitted"
30
29
         read uptime idle < /proc/uptime
31
30
      fi
32
31
      msg="${UPSTART_INSTANCE}${uptime:+[${uptime}]}: $*"
33
 
      echo "$msg" >> "$LOG"
34
32
      echo "$msg"
35
33
   }
36
34