From cdd714c6b578833a6fcc181b3cdbe7d84430797f Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 12 Apr 2006 17:21:23 +0000 Subject: added start script enabling for NIS (ypbind) git-svn-id: http://svn.openslx.org/svn/openslx/ld4@182 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/distro-specs/gentoo/functions-2005.1 | 7 ++++++- initrd/distro-specs/suse/functions-9.3 | 9 +++++++-- initrd/distro-specs/ubuntu/functions-5.10 | 8 ++++++-- initrd/initrd-stuff/bin/servconfig | 5 +++-- installer/distro-specs/exclude-suse-10.1 | 1 + 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/initrd/distro-specs/gentoo/functions-2005.1 b/initrd/distro-specs/gentoo/functions-2005.1 index 85e141ae..13fd65c8 100644 --- a/initrd/distro-specs/gentoo/functions-2005.1 +++ b/initrd/distro-specs/gentoo/functions-2005.1 @@ -2,7 +2,7 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz , 02-04-2006 +# Author(s): Dirk von Suchodoletz , 12-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # @@ -256,6 +256,11 @@ config_portmap () { rllinker "portmap" } +# start NIS (fixmee: does the start script is really named ypbind?) +config () { +rllinker "ypbind" +} + # start vmware and vmware preparation services config_vmware () { rllinker "vmware-prep" diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index 800b4035..4d4435bb 100644 --- a/initrd/distro-specs/suse/functions-9.3 +++ b/initrd/distro-specs/suse/functions-9.3 @@ -4,11 +4,11 @@ # functions file). This file is the main base for the # following SuSE distributions # -# Author(s): Dirk von Suchodoletz , 02-04-2006 +# Author(s): Dirk von Suchodoletz , 12-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.2a +# Version: 0.2.2b # distro specific stuff to initialize preinit () { @@ -411,6 +411,11 @@ config_portmap () { rllinker "portmap" "02" "20" } +# start NIS +config () { +rllinker "ypbind" "06" "16" +} + # start vmware config_vmware () { rllinker "vmware-prep" "18" "02" diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index 86622be7..a174649d 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -2,13 +2,13 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz , 05-04-2006 +# Author(s): Dirk von Suchodoletz , 12-04-2006 # Nico Dietrich # Felix Endres # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.1e +# Version: 0.2.1f # distro specific stuff to initialize preinit () { @@ -268,3 +268,7 @@ config_portmap () { rllinker "portmap" "02" "20" } +# start NIS (fixmee - does the service is really named ypbind??) +config () { + rllinker "ypbind" "06" "16" +} diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index 13a8b4b4..c270ae5f 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -4,11 +4,11 @@ # for linux diskless clients (executed within initial # ramdisk) # -# Author(s): Dirk von Suchodoletz , 11-04-2006 +# Author(s): Dirk von Suchodoletz , 12-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.1.0a +# Version: 0.1.0b # check for configuration files to source @@ -257,6 +257,7 @@ if [ "x$nis_domain" != "x" ] && [ "x$nis_servers" != "x" ] ; then $date\n\nypserver "$nis_servers >/mnt/etc/yp.conf # should be last in passwd file strinfile "+::::::" /mnt/etc/passwd||echo "+::::::" >>/mnt/etc/passwd + config_nis fi ####################################################################### diff --git a/installer/distro-specs/exclude-suse-10.1 b/installer/distro-specs/exclude-suse-10.1 index 4f6772cd..eba6441e 100644 --- a/installer/distro-specs/exclude-suse-10.1 +++ b/installer/distro-specs/exclude-suse-10.1 @@ -25,3 +25,4 @@ - /opt/kde3/share/autostart/suseplugger.desktop - /opt/kde3/share/autostart/profile_chooser-autostart.desktop - /opt/kde3/share/autostart/knetworkmanager-autostart.desktop +- /opt/kde3/share/autostart/zen-updater-auto.desktop -- cgit v1.2.3-55-g7522