summaryrefslogtreecommitdiffstats
path: root/initrd
diff options
context:
space:
mode:
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