diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2006-11-11 19:51:37 +0000 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2006-11-11 19:51:37 +0000 |
commit | a68d3c33e7cdc9b053e288952c78fed28f2f8193 (patch) | |
tree | 00900da09f6cfd617d30e27221f2dff9605bd152 /rules/fam.in | |
parent | c7b4af4ef03d0f668286c85edae1c1180f0e1429 (diff) | |
download | ptxdist-a68d3c33e7cdc9b053e288952c78fed28f2f8193.tar.gz ptxdist-a68d3c33e7cdc9b053e288952c78fed28f2f8193.tar.xz |
* famd rpc service
- supporting also standalone mode with a startscript
- supporting link in rc.d to startscript
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6302 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/fam.in')
-rw-r--r-- | rules/fam.in | 60 |
1 files changed, 48 insertions, 12 deletions
diff --git a/rules/fam.in b/rules/fam.in index d958f0bee..64786db39 100644 --- a/rules/fam.in +++ b/rules/fam.in @@ -2,7 +2,7 @@ menuconfig FAM bool - prompt "famd " + prompt "fam " select PORTMAP select GCCLIBS_CXX select GCCLIBS_GCC_S @@ -28,7 +28,7 @@ config FAM_LIBRARY If there is an application that is linked against libfam check this entry to install this library also on the target -comment "cvs runtime options ---" +comment "runtime options ---" depends on FAM config FAM_DEFAULT_CONF @@ -40,17 +40,30 @@ config FAM_DEFAULT_CONF This installs fam distribution's fam.conf file. Its almost generic and usable. -config FAM_INETD_SERVER - bool - default y +choice + prompt "Kind of startup" + default FAM_STARTUP_TYPE_STANDALONE depends on FAM - prompt "Start from inetd" - help - This installs a startup configuration for famd from inetd. It adds to - the /etc/inetd.conf a line like this: - sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd famd -c /etc/fam.conf - Note: You must enable one of the two possible inet daemons: There is - one embedded in busybox and one in packet inetutils. + + config FAM_INETD_SERVER + bool + prompt "inetd driven" + help + This installs a startup configuration for famd from inetd. It adds to + the /etc/inetd.conf a line like this: + sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd famd -c /etc/fam.conf + Note: You must enable one of the two possible inet daemons: There is + one embedded in busybox and one in packet inetutils. + + config FAM_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 FAM_INETD_STRING string @@ -60,3 +73,26 @@ config FAM_INETD_STRING default "sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd famd -c /etc/fam.conf" help This string is added to inetd's configuration /etc/inetd.conf. + +choice + prompt "Kind of startup script" + default ROOTFS_ETC_INITD_FAM_DEFAULT + depends on FAM + depends on FAM_STARTUP_TYPE_STANDALONE + + config ROOTFS_ETC_INITD_FAM_DEFAULT + bool + prompt "Use generic" + help + Installs a generic /etc/init.d/famd startup script. + See <ptxdist-install>/generic/etc/init.d/famd + + config ROOTFS_ETC_INITD_FAM_USER + bool + prompt "User defined" + help + This uses a user defined fam startup script. PTXdist + uses files projectroot/etc/init.d/famd in your local + project + +endchoice |