summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-04-12 19:21:23 +0200
committerDirk von Suchodoletz2006-04-12 19:21:23 +0200
commitcdd714c6b578833a6fcc181b3cdbe7d84430797f (patch)
tree2f1d1c9a35f2e1a5ab903b34019b726e787f9a8f
parentsimplifications for union mounts in init (but problems still exist), (diff)
downloadcore-cdd714c6b578833a6fcc181b3cdbe7d84430797f.tar.gz
core-cdd714c6b578833a6fcc181b3cdbe7d84430797f.tar.xz
core-cdd714c6b578833a6fcc181b3cdbe7d84430797f.zip
added start script enabling for NIS (ypbind)
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@182 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r--initrd/distro-specs/gentoo/functions-2005.17
-rw-r--r--initrd/distro-specs/suse/functions-9.39
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.108
-rwxr-xr-xinitrd/initrd-stuff/bin/servconfig5
-rw-r--r--installer/distro-specs/exclude-suse-10.11
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 <dirk@goe.net>, 02-04-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 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 <dirk@goe.net>, 02-04-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 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 <dirk@goe.net>, 05-04-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 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 <dirk@goe.net>, 11-04-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 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