ntp: start ntpd in chroot mode (use /var/chroot/ntpd).

This commit is contained in:
Juan RP 2014-12-27 15:13:25 +01:00
parent 76ed37f796
commit ab168f3003
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,4 @@
#!/bin/sh
exec ntpd -g -u ntpd:ntpd -n
mkdir -p /var/chroot/ntpd/etc
cp /etc/services /var/chroot/ntpd/etc/
exec ntpd -g -u ntpd:ntpd -n -i /var/chroot/ntpd

View File

@ -1,7 +1,7 @@
# Template file for 'ntp'
pkgname=ntp
version=4.2.8
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd
ol_cv_pthread_select_yields=yes"