From 789b48c64737246cfe4faf2194384a0475c04f35 Mon Sep 17 00:00:00 2001 From: Juergen Beisert Date: Sat, 11 Nov 2006 19:32:32 +0000 Subject: * portmap (rpc) - starting from inetd or standalone - lets user select his own startscript - adding entries in /etc/services and /etc/inetd.conf automatically - adding rc.d link git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6299 33e552b5-05e3-0310-8538-816dae2090ed --- rules/portmap.in | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) (limited to 'rules/portmap.in') diff --git a/rules/portmap.in b/rules/portmap.in index c19a46023..de4638f11 100644 --- a/rules/portmap.in +++ b/rules/portmap.in @@ -11,6 +11,68 @@ menuconfig PORTMAP config PORTMAP_INSTALL_PORTMAPPER bool depends on PORTMAP + default y prompt "Install /sbin/portmap" help Install the portmapper into /sbin/portmap + +comment "runtime options ---" + depends on PORTMAP + +choice + prompt "Kind of startup" + default PORTMAP_STARTUP_TYPE_STANDALONE + depends on PORTMAP + + 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 + depends on PORTMAP_INETD_SERVER + prompt "inetd service entry" + default "portmap 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 + 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 /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 + +endchoice -- cgit v1.2.3