Mercurial > hg > fD-testbed
view scripts/ntp-install.sh @ 0:9e5a3c884de6
Initial import of the virtual testbed.
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 17 Jun 2010 11:00:32 +0900 |
parents | |
children |
line wrap: on
line source
#!/bin/bash -x # Install dependencies for freeDiameter aptitude install ntp # Stop the server /etc/init.d/ntp stop # Copy the configuration file if [ -e "/home/aaa/conf/`hostname --fqdn`/ntp.conf" ]; then cp -f /home/aaa/conf/`hostname --fqdn`/ntp.conf /etc/; fi # Restart the server /etc/init.d/ntp start