Commit ead238ba authored by Daniele Cocca's avatar Daniele Cocca

Adding networkmanager-dispatcher-ntpdate.

parent f968136b
#!/bin/bash
if [ -e "/etc/rc.d/ntpdate" ]; then
case "$2" in
up)
/etc/rc.d/ntpdate start
;;
vpn-up)
/etc/rc.d/ntpdate start
;;
down)
/etc/rc.d/ntpdate stop
;;
vpn-down)
/etc/rc.d/ntpdate stop
;;
esac
fi
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=networkmanager-dispatcher-ntpdate
pkgver=1.0
pkgrel=1
pkgdesc="Dispatcher script for ntpdate."
arch=(any)
license=('BSD')
url="http://www.gnome.org/projects/NetworkManager"
depends=('networkmanager' 'ntp')
source=("10-ntpdate")
md5sums=('8e52fa4c53b9e9c76b23bf77e79df1fe')
package() {
install -Dm700 "${srcdir}/10-ntpdate" "${pkgdir}/etc/NetworkManager/dispatcher.d/10-ntpdate"
}
# 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