From c3ead493a3e4c21def18e54745509d9117f27573 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 30 Mar 2006 21:27:10 +0000 Subject: fixed halt ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@134 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/distro-specs/suse/functions-9.3 | 6 +++++- initrd/distro-specs/ubuntu/functions-5.10 | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'initrd') diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index d9ac0ecb..fd0a9f76 100644 --- a/initrd/distro-specs/suse/functions-9.3 +++ b/initrd/distro-specs/suse/functions-9.3 @@ -34,7 +34,11 @@ PATH=\"\$PATH:/var/X11R6/bin\"\n\ test \"\$UID\" -ge 100 && PATH=\"\$PATH:.\"\n\ QTDIR=/usr/lib/qt3\nexport QTDIR\nno_proxy='localhost'\n\ export no_proxy" > /mnt/etc/SuSEconfig/profile -echo -e "DXS-VERSION=4.0a\INITRAMFS-GEN-DATE=$date" >> /mnt/etc/SuSE-release +echo -e "DXS VERSION = 4.0a\nINITRAMFS GENERATION DATE = $date" \ + >> /mnt/etc/SuSE-release +# add the halt link to the 0 and 6 runlevel directories + ln -sf ../halt /mnt/etc/init.d/rc0.d/K20halt + ln -sf ../halt /mnt/etc/init.d/rc6.d/K20reboot } # udev/hotplug - auto device discovery service diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index 5f25d014..d4038840 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -27,7 +27,7 @@ postinit () { # distro specific function called from servconfig script config_distro () { - : +# fixme!! add halt runlevel links here!! } # AUS SuSE-9.3 -- cgit v1.2.3-55-g7522