summaryrefslogtreecommitdiffstats
path: root/rules/portmap.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/portmap.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/portmap.in')
-rw-r--r--rules/portmap.in62
1 files changed, 2 insertions, 60 deletions
diff --git a/rules/portmap.in b/rules/portmap.in
index b92630b05..70cb67fe6 100644
--- a/rules/portmap.in
+++ b/rules/portmap.in
@@ -11,67 +11,9 @@ menuconfig PORTMAP
if PORTMAP
-config PORTMAP_INSTALL_PORTMAPPER
+config PORTMAP_STARTSCRIPT
bool
default y
- prompt "Install /sbin/portmap"
- help
- Install the portmapper into /sbin/portmap
-
-comment "runtime options ---"
-
-choice
- prompt "Kind of startup"
- default PORTMAP_STARTUP_TYPE_STANDALONE
-
- config PORTMAP_INETD_SERVER
- bool
- prompt "inetd driven"
- help
- portmap will be started on demand from inetd. This installs
- a startup configuration for portmap from inetd. It adds to the
- /etc/inetd.conf a line like this:
- portmap stream tcp nowait root /sbin/portmap portmap
- Note: You must enable one of the two possible inet daemons:
- There is one embedded in busybox and one in packet inetutils.
-
- config PORTMAP_STARTUP_TYPE_STANDALONE
- bool
- prompt "standalone"
- help
- This installs a startup script into /etc/init.d/portmapd. With
- this script portmap will be started at system startup and waits
- for connections
-
-endchoice
-
-config PORTMAP_INETD_STRING
- string
- depends on PORTMAP_INETD_SERVER
- prompt "inetd service entry"
- default "sunrpc stream tcp nowait root /sbin/portmap portmap"
- help
- This string is added to inetd's configuration /etc/inetd.conf.
-
-choice
- prompt "Kind of startup script"
- default ROOTFS_ETC_INITD_PORTMAP_DEFAULT
- depends on PORTMAP_STARTUP_TYPE_STANDALONE
-
- config ROOTFS_ETC_INITD_PORTMAP_DEFAULT
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/init.d/portmapd startup script.
- See <ptxdist-install>/generic/etc/init.d/portmapd
-
- config ROOTFS_ETC_INITD_PORTMAP_USER
- bool
- prompt "User defined"
- help
- This uses a user defined portmap startup script. PTXdist
- uses files projectroot/etc/init.d/portmapd in your local
- project
+ prompt "install /etc/init.d/portmap"
-endchoice
endif