~landscape/charms/trusty/ntpmaster/trunk

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: James Page
  • Date: 2013-08-29 13:19:15 UTC
  • mfrom: (1.1.55 ntpmaster)
  • Revision ID: james.page@canonical.com-20130829131915-gfu6zoqy5yj46c6s
Python rewrite from melmoth

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
set -e
4
 
 
5
 
apt-get update
6
 
apt-get install -y ntp
7
 
 
8
 
# Back installed config file for later use
9
 
cp /etc/ntp.conf /etc/ntp.conf.orig