summaryrefslogtreecommitdiffstats
path: root/rules/ntpclient.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/ntpclient.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/ntpclient.in')
-rw-r--r--rules/ntpclient.in30
1 files changed, 3 insertions, 27 deletions
diff --git a/rules/ntpclient.in b/rules/ntpclient.in
index e071002b3..39c4cf7fe 100644
--- a/rules/ntpclient.in
+++ b/rules/ntpclient.in
@@ -43,37 +43,13 @@ comment "BusyBox' adjtimex is in use"
comment "runtime options ---"
-config NTPCLIENT_INSTALL_STARTSCRIPT
+config NTPCLIENT_STARTSCRIPT
bool
- prompt "Install start script"
default y
- help
- Enable this extry to let PTXdist install a startup script
-
-choice
- prompt "Kind of startup script"
- default ROOTFS_ETC_INITD_NTPCLIENT_DEFAULT
- depends on NTPCLIENT_INSTALL_STARTSCRIPT
-
- config ROOTFS_ETC_INITD_NTPCLIENT_DEFAULT
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/init.d/ntpclient startup script.
- See <ptxdist-install>/generic/etc/init.d/ntpclient
-
- config ROOTFS_ETC_INITD_NTPCLIENT_USER
- bool
- prompt "User defined"
- help
- This uses a user defined ntclient startup script. PTXdist
- uses files projectroot/etc/init.d/ntpclient in your local
- project
-
-endchoice
+ prompt "install /etc/init.d/nfsclient"
config NTPCLIENT_NTPSERVER_NAME
- depends on NTPCLIENT_INSTALL_STARTSCRIPT
+ depends on NTPCLIENT_STARTSCRIPT
string
prompt "NTP server name"
default ""