diff options
-rw-r--r-- | README.de | 13 | ||||
-rw-r--r-- | initrd/distro-specs/debian/functions-3.1 | 2 | ||||
-rw-r--r-- | initrd/distro-specs/suse/functions-9.3 | 5 | ||||
-rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 7 | ||||
-rwxr-xr-x | initrd/initrd-stuff/bin/servconfig | 8 |
5 files changed, 26 insertions, 9 deletions
@@ -47,3 +47,16 @@ der Clients (/export oder /nfsroot). Insgesamt booten Rechner mit der neuen Diskless Variante deutlich schneller als früher ld3.4 1Minute++, nun 30Sekunden+ und generiert selbst im Standard-NFS/Bindmount-Betrieb deutlich weniger Netzwerk-Traffic. + +Installation + +Derzeit ist nur die Installation von einem Referenzsystem moeglich. Das regelt +das Skript ld4/installer/ld4-inst. Dieses stellt die von der Vorgaengerversion +bekannten Fragen und legt dabei ein Verzeichnis /etc/dxs auf dem Server an, in +dem sich die meisten Konfigurationsdateien befinden. + +Das Installationsskript ruft ld4/initrd/mkdxsinitrd auf, welches ein Initramfs +fuer die Diskless X Stations generiert. Nach jedem Kernel-Update oder +Aenderungen, die den Initialstart betreffen, muss es neu aufgerufen werden. +Siehe auch http://132.230.4.73/trac/dxs !! + diff --git a/initrd/distro-specs/debian/functions-3.1 b/initrd/distro-specs/debian/functions-3.1 index 1e3e1aa7..144a7774 100644 --- a/initrd/distro-specs/debian/functions-3.1 +++ b/initrd/distro-specs/debian/functions-3.1 @@ -83,6 +83,8 @@ fi config_cron () { if [ "x$start_cron" = "xyes" ] ; then if [ -f /mnt/etc/init.d/cron ] ; then + rllinker "cron" "18" "02" + # fixme! check for proper pathes testmkd /mnt/var/spool/cron/lastrun testmkd /mnt/var/spool/cron/tabs echo -e "# /etc/crontab - file generated by $0:\n\ diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index e5470bb8..6c18677c 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>, 12-04-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 19-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.2b +# Version: 0.2.2c # distro specific stuff to initialize preinit () { @@ -101,6 +101,7 @@ fi config_cron () { if [ "x$start_cron" = "xyes" ] ; then if [ -f /mnt/etc/${D_INITDIR}/cron ] ; then + rllinker "cron" "18" "02" testmkd /mnt/var/spool/cron/lastrun testmkd /mnt/var/spool/cron/tabs echo -e "# /etc/crontab - file generated by $0:\n\ diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index e2834835..7282e302 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -2,7 +2,7 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 12-04-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 19-04-2006 # Nico Dietrich # Felix Endres # @@ -111,8 +111,9 @@ fi config_cron () { if [ "x$start_cron" = "xyes" ] ; then if [ -f /mnt/etc/init.d/cron ] ; then - testmkd /mnt/var/spool/cron/lastrun - testmkd /mnt/var/spool/cron/tabs + rllinker "cron" "18" "02" + # fixme! check for proper permissions! + testmkd /mnt/var/spool/crontabs echo -e "# /etc/crontab - file generated by $0:\n\ #\t$date\nSHELL=/bin/sh\nPATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin\ \nMAILTO=\n-*/15 * * * *\troot\ttest -x /usr/lib/cron/run-crons && \ diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index c270ae5f..59e4709f 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -4,7 +4,7 @@ # for linux diskless clients (executed within initial # ramdisk) # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 12-04-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 19-04-2006 # # Copyright: (c) 2006 - RZ Universitaet Freiburg # @@ -165,16 +165,16 @@ fi # basic (non network) services # at daemon - calling distro specific function config_atd -config_atd "14" "04" +config_atd # configuration of cron services - calling distro specific function # config_cron (runlevel links, directories, ...) [ "x$crontab_entries" != "x" ] && \ echo -e "$crontab_entries" >> /mnt/etc/crontab -config_cron "16" "04" +config_cron # setup system log services - distro dependent function config_syslog -config_syslog "02" "20" +config_syslog # configure dbus - distro dependent function config_dreshal - handle all # stuff regarding dependent services like dbus, resmgr, hal ... |