summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs/ubuntu/functions-ubuntu
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-01-20 20:56:11 +0100
committerDirk von Suchodoletz2006-01-20 20:56:11 +0100
commit20dc751c0cc775e6098d9b4d324efa428803047e (patch)
tree18c97cfbb71a47d7270899ec5592dba395fc6df7 /initrd/distro-specs/ubuntu/functions-ubuntu
parenteinige fixes - repco funktioniert allerdings noch nicht (diff)
downloadcore-20dc751c0cc775e6098d9b4d324efa428803047e.tar.gz
core-20dc751c0cc775e6098d9b4d324efa428803047e.tar.xz
core-20dc751c0cc775e6098d9b4d324efa428803047e.zip
Heftiges Bugfixing in mkdxsinitrd ... intensiv gecheckt mit SuSE 10.0 -
wieder funktionsfähig. git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@29 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/ubuntu/functions-ubuntu')
-rw-r--r--initrd/distro-specs/ubuntu/functions-ubuntu7
1 files changed, 4 insertions, 3 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-ubuntu b/initrd/distro-specs/ubuntu/functions-ubuntu
index 47826957..02d696f1 100644
--- a/initrd/distro-specs/ubuntu/functions-ubuntu
+++ b/initrd/distro-specs/ubuntu/functions-ubuntu
@@ -204,18 +204,19 @@ fi
# 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!!)
-d_bootld () {
+d_mkbootld () {
case "$1" in
init)
echo -e "#!/bin/sh\n# skeleton of /etc/${D_INITDIR}/boot.ld written \
from $0" >/mnt/etc/${D_INITDIR}/boot.ld
- echo -e '\n\ncase "$1" in start)' \
+ echo -e '\n\ncase "$1" in\n start)' \
>>/mnt/etc/${D_INITDIR}/boot.ld
echo -e '\techo -n "Running post configuration required by initrd"' \
>>/mnt/etc/${D_INITDIR}/boot.ld
+ chmod u+x /mnt/etc/${D_INITDIR}/boot.ld
;;
close)
- echo -e "\t;;\n stop)\n\t;;esac\nexit 0" \
+ echo -e "\t;;\n stop)\n\t;;\nesac\nexit 0" \
>>/mnt/etc/${D_INITDIR}/boot.ld
;;