summaryrefslogtreecommitdiffstats
path: root/rules/ntp.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-02-20 23:13:39 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-02-20 23:13:39 +0000
commit2e878658a02ca4651673cad2f41a57f27557d6dc (patch)
treefd1c10f972e4e7f79775a2b3c52fe907869e6032 /rules/ntp.in
parentbe1d99320d214120a306d659e3eacac4411b5ad3 (diff)
downloadptxdist-2e878658a02ca4651673cad2f41a57f27557d6dc.tar.gz
ptxdist-2e878658a02ca4651673cad2f41a57f27557d6dc.tar.xz
* init: introduce infrastructure for multiple init methods
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9802 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/ntp.in')
-rw-r--r--rules/ntp.in32
1 files changed, 8 insertions, 24 deletions
diff --git a/rules/ntp.in b/rules/ntp.in
index d40c4d0cf..354f7bd85 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -168,7 +168,7 @@ config NTP_ARLIB
help
FIXME: This item needs to be documented
-endif
+endif
source "generated/networking_ntp.in"
@@ -195,19 +195,11 @@ config NTP_NTPD
maintains the system time of day in synchronism with Internet
standard time servers.
-config NTP_NTPD_RCD_LINK
+config NTP_NTPD_STARTSCRIPT
bool
- prompt "install link in /etc/rc.d to start ntp-server"
+ default y
depends on NTP_NTPD
- help
- This option installs a link into /etc/rc.d/ to /etc/init.d/ntp-server.
-
-config NTP_NTPD_USR_CONF
- bool
- prompt "install a user defined configuration file for ntp-server"
- depends on NTP_NTPD
- help
- This option installs a config file from project-root to /etc/ntp-server.conf
+ prompt "install /etc/init.d/ntp-server"
config NTP_NTPDC
bool
@@ -217,19 +209,11 @@ config NTP_NTPDC
ntpdc is used to query the ntpd daemon about its
current state and to request changes in that state.
-config NTP_NTPDC_RCD_LINK
+config NTP_NTPC_STARTSCRIPT
bool
- prompt "install link in /etc/rc.d to start ntp-client"
- depends on NTP_NTPDC
- help
- This option installs a link into /etc/rc.d/ to /etc/init.d/ntp-client.
-
-config NTP_NTPDC_USR_CONF
- bool
- prompt "install a user defined configuration file for ntp-server"
- depends on NTP_NTPDC
- help
- This option installs a config file from project-root to /etc/ntp-client.conf
+ default y
+ depends on NTP_NTPC
+ prompt "install /etc/init.d/ntp-client"
config NTP_NTPQ
bool