ntp: start ntpd in chroot mode (use /var/chroot/ntpd).
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'ntp'
|
# Template file for 'ntp'
|
||||||
pkgname=ntp
|
pkgname=ntp
|
||||||
version=4.2.8
|
version=4.2.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd
|
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd
|
||||||
ol_cv_pthread_select_yields=yes"
|
ol_cv_pthread_select_yields=yes"
|
||||||
|
|||||||
Reference in New Issue
Block a user