summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-03-30 23:27:10 +0200
committerDirk von Suchodoletz2006-03-30 23:27:10 +0200
commitc3ead493a3e4c21def18e54745509d9117f27573 (patch)
treec03676660d5713f151ca8c79dbb652c08c4c8616 /initrd
parentmostly bugfixes and small improvements ... (diff)
downloadcore-c3ead493a3e4c21def18e54745509d9117f27573.tar.gz
core-c3ead493a3e4c21def18e54745509d9117f27573.tar.xz
core-c3ead493a3e4c21def18e54745509d9117f27573.zip
fixed halt ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@134 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd')
-rw-r--r--initrd/distro-specs/suse/functions-9.36
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.102
2 files changed, 6 insertions, 2 deletions
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