Commit 4d095bbb authored by Daniele Cocca's avatar Daniele Cocca

Adding networkmanager-dispatcher-ntpd.

parent 18296b38
#!/bin/bash
if [ -e "/etc/rc.d/ntpd" ]; then
case "$2" in
up)
/etc/rc.d/ntpd start
;;
vpn-up)
/etc/rc.d/ntpd start
;;
down)
/etc/rc.d/ntpd stop
;;
vpn-down)
/etc/rc.d/ntpd stop
;;
esac
fi
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
# Original Arch Linux 'community' Maintainer: Jelle van der Waa <jelle vdwaa nl>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=networkmanager-dispatcher-ntpd
pkgver=1.0
pkgrel=1
pkgdesc="Dispatcher script for ntpd."
arch=(any)
license=('BSD')
url="http://www.gnome.org/projects/NetworkManager"
depends=('networkmanager' 'ntp')
source=("10-ntpd")
md5sums=('634640886979278dc3a74dbae342d3e7')
package() {
install -Dm700 "${srcdir}/10-ntpd" "${pkgdir}/etc/NetworkManager/dispatcher.d/10-ntpd"
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment