summaryrefslogtreecommitdiffstats
path: root/rules/dnsmasq.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/dnsmasq.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/dnsmasq.in')
-rw-r--r--rules/dnsmasq.in48
1 files changed, 4 insertions, 44 deletions
diff --git a/rules/dnsmasq.in b/rules/dnsmasq.in
index 423edaf9a..7e15153ed 100644
--- a/rules/dnsmasq.in
+++ b/rules/dnsmasq.in
@@ -70,49 +70,9 @@ config DNSMASQ_INETD_STRING
help
This string is added to inetd's configuration /etc/inetd.conf.
-choice
- prompt "Kind of startup script"
- default ROOTFS_ETC_INITD_DNSMASQ_DEFAULT
- depends on DNSMASQ_STARTUP_TYPE_STANDALONE
-
- config ROOTFS_ETC_INITD_DNSMASQ_DEFAULT
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/init.d/dnsmasq startup script.
- See <ptxdist-install>/generic/etc/init.d/dnsmasq
-
- config ROOTFS_ETC_INITD_DNSMASQ_USER
- bool
- prompt "User defined"
- help
- This uses a user defined dnsmasq startup script. PTXdist
- uses files projectroot/etc/init.d/dnsmasq in your local
- project
-
-endchoice
-
-choice
- prompt "Configuration's source"
- default DNSMASQ_ETC_DEFAULT
-
- config DNSMASQ_ETC_DEFAULT
- bool
- prompt "Use generic"
- help
- The used configuration file for runtime comes from build
- directory's file "dnsmasq.conf.example"
- Its mostly useless, but gives you a hint how it works.
- Use it as a starting point, modify it and store it in your
- active project. Then switch here to "User defined".
-
- config DNSMASQ_ETC_USER
- bool
- prompt "User defined"
- help
- This installs dnsmasq.conf from projectroot/etc/dnsmasq.conf
- from you local project.
-
-endchoice
+config DNSMASQ_STARTSCRIPT
+ bool
+ default y
+ prompt "install /etc/init.d/dnsmasq"
endif