~paulgear/charms/trusty/ntpmaster/add-query-hosts-option

« back to all changes in this revision

Viewing changes to hooks/install

  • Committer: James Page
  • Date: 2012-04-26 16:19:06 UTC
  • Revision ID: james.page@canonical.com-20120426161906-xiznixxy1f6829vb
Initial version

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