summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/ubuntu/functions-5.10
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/distro-specs/ubuntu/functions-5.10')
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.1035
1 files changed, 20 insertions, 15 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10
index ba795634..9c7c8ccc 100644
--- a/initrd/distro-specs/ubuntu/functions-5.10
+++ b/initrd/distro-specs/ubuntu/functions-5.10
@@ -1,14 +1,14 @@
-# Description: configuration script for SuSE 10.0 to configure
+# Description: configuration script for Ubuntu V5.10 to configure
# linux diskless clients (executed within initial
# ramdisk after genconfig)
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 20-01-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 29-01-2006
# Nico Dietrich
# Felix Endres
#
# Copyright: (c) 2006 - RZ Universitaet Freiburg
#
-# Version: 0.2.1a
+# Version: 0.2.1b
# distro specific stuff to initialize
preinit () {
@@ -157,13 +157,13 @@ PATH=\"\$PATH:/var/X11R6/bin\"" >>/mnt/etc/profile
# configure display manager (runlevel links and kind of manager)
config_dm () {
# should be stated that entries were made (fixmee how??)
- sed -e "s,DISPLAYMANAGER=.*,DISPLAYMANAGER=\"$start_xdmcp\"," \
- -e "s,.*_XSERVER.*,DISPLAYMANAGER_STARTS_XSERVER=\"$dsx\"," \
- /mnt/etc/sysconfig/displaymanager > /etc/displaymanager
- cp /etc/displaymanager /mnt/etc/sysconfig/displaymanager
-
-# echo -e "#!/bin/sh\n# entry added by $0: $date\n\
-#(sleep 1; /etc/init.d/xdm start) &" >>/mnt/etc/${D_INITDIR}/boot.ld
+ #sed -e "s,DISPLAYMANAGER=.*,DISPLAYMANAGER=\"$start_xdmcp\"," \
+ # -e "s,.*_XSERVER.*,DISPLAYMANAGER_STARTS_XSERVER=\"$dsx\"," \
+ # /mnt/etc/sysconfig/displaymanager > /etc/displaymanager
+ #cp /etc/displaymanager /mnt/etc/sysconfig/displaymanager
+ # fixme - different runlevel scripts for diff. displaymanager??
+ echo -e "\t/etc/init.d/xdm start >${LOGFILE} 2>&1\n" \
+ >>/mnt/etc/${D_INITDIR}/boot.ld
ln -sf /etc/init.d/xdm /mnt/etc/init.d/rc5.d/S01xdm
ln -sf /etc/init.d/xdm /mnt/etc/init.d/rc5.d/K20xdm
}
@@ -176,31 +176,36 @@ echo -e "setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" \
# acpi and powersave
config_acpi () {
- echo >/dev/null
+ :
}
# configure xdm as display manager
config_xdm () {
- echo >/dev/null
+ :
}
# configure gdm as display manager
config_gdm () {
- echo >/dev/null
+ :
}
# configure kdm as display manager
config_kdm () {
- echo >/dev/null
+ :
}
# configure hal, dbus, resmgr and services like that
config_dreshal () {
if [ "x$start_dreshal" = "xyes" ]; then
- echo >/dev/null
+ :
fi
}
+# configure bluetooth services
+config_bt () {
+:
+}
+
# initialize boot.ld - skript to be executed during early system startup
# (before most of the normal boot init scripts)
# this script should operate like a normal runlevel script (fixme!!)