diff options
Diffstat (limited to 'initrd/distro-specs/ubuntu')
| -rw-r--r-- | initrd/distro-specs/ubuntu/functions-ubuntu | 7 | ||||
| -rw-r--r-- | initrd/distro-specs/ubuntu/servconf | 19 |
2 files changed, 4 insertions, 22 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 ;; diff --git a/initrd/distro-specs/ubuntu/servconf b/initrd/distro-specs/ubuntu/servconf deleted file mode 100644 index 9e711042..00000000 --- a/initrd/distro-specs/ubuntu/servconf +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# Description: configuration script for Debian/Sarge to configure -# linux diskless clients (executed within initial -# ramdisk after genconfig) -# -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 13-12-2005 -# Blabla -# Blub -# -# Copyright: (c) 2003, 2005 - RZ Universitaet Freiburg -# -# Version: 0.3.5k - -# check for configuration files to source - -# ldap, dhcp, file - - |
