summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-24 15:43:15 +0200
committerDirk von Suchodoletz2007-04-24 15:43:15 +0200
commiteaa98b5bf5782f5d867cdaad895a9074f76753ef (patch)
treefd7d6542dc71bd23ed5b5d7dcfba2432f6f64fdf /initramfs/initrd-stuff
parent* changed semantics of slxos-export (back) to add/update/remove (diff)
downloadcore-eaa98b5bf5782f5d867cdaad895a9074f76753ef.tar.gz
core-eaa98b5bf5782f5d867cdaad895a9074f76753ef.tar.xz
core-eaa98b5bf5782f5d867cdaad895a9074f76753ef.zip
Support the setup (basic functionality only) of printer and samba (SuSE
only at the moment) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@923 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig12
-rw-r--r--initramfs/initrd-stuff/etc/functions13
2 files changed, 20 insertions, 5 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index 51b66b68..2354cfb8 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -174,8 +174,8 @@ test -n "$domain_name_servers" && {
#############################################################################
# initial boot scripts
-# delete and create runlevel links for initial booting (SuSE, Debian,
-# ...)
+# delete and create runlevel links for initial booting (SuSE, Debian, Ubuntu,
+# Fedora, ...)
initial_boot
#############################################################################
@@ -251,6 +251,9 @@ fi
config_automount
# fi
+# configure print services / start requested printer daemon
+config_printer
+
# configure bluetooth services
config_bt
@@ -283,9 +286,10 @@ config_snmp
config_afs
# setup nfsv4/krb stuff
-# if nfsv4 required
config_nfsv4
-# fi
+
+# configure samba service
+config_samba
#############################################################################
# NIS
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index 1fa21a35..9265eedb 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -1170,11 +1170,16 @@ config_dreshal () {
:
}
-# configure automounter
+# configure automounter, simple NFSv3 imports only
config_automount () {
:
}
+# configure print services / start requested printer daemon
+config_printer () {
+:
+}
+
# configure bluetooth services
config_bt () {
:
@@ -1200,6 +1205,12 @@ config_automount () {
:
}
+# configure samba service (not winbind, but nmbd, smbd)
+config_samba () {
+:
+}
+
+
# start portmapper (needed at least for nfs and nis services)
config_portmap () {
: