diff options
author | Dirk von Suchodoletz | 2010-03-10 18:07:00 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-03-10 18:07:00 +0100 |
commit | 039b56152cfc84936e4b9f8b86a1b358d199f2dc (patch) | |
tree | 140774c6a471f29d16273c06bb3b10a8814e00ca /initramfs/distro-specs/ubuntu | |
parent | Not functional yet (see #675) ... (diff) | |
download | core-039b56152cfc84936e4b9f8b86a1b358d199f2dc.tar.gz core-039b56152cfc84936e4b9f8b86a1b358d199f2dc.tar.xz core-039b56152cfc84936e4b9f8b86a1b358d199f2dc.zip |
Re-enabling rc-sysinit,networking.conf for booting (see #675) ...
Diffstat (limited to 'initramfs/distro-specs/ubuntu')
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-default | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index f3718d47..ef7ece69 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -47,25 +47,19 @@ config_distro () { # interface with already existing setup) # copy all event scripts to a special directory testmkd /mnt/etc/init.inactive + echo -e "# This directory was created in OpenSLX stage3 and contains all \ +disabled\n# upstart scripts. They are moved by servconfig to init if this is \ +required." >/mnt/etc/init.inactive/README mv /mnt/etc/init/* /mnt/etc/init.inactive # copy initial upstart scripts back for file in alsa-mixer-save.conf control-alt-delete.conf dbus.conf \ dmesg.conf hwclock.conf hwclock-save.conf irqbalance.conf \ module-init-tools.conf mountall.conf mounted*conf plymouth*conf \ - procps.conf rc.conf rcS.conf tty*conf udev*conf \ + networking.conf procps.conf rc*.conf tty*conf udev*conf \ upstart-udev-bridge.conf ; do mv /mnt/etc/init.inactive/${file} /mnt/etc/init >/dev/null 2>&1 done - # add the halt link to the 0 and 6 runlevel directories and other useful - # links - #ln -sf ../init.d/halt /mnt/etc/rc0.d/S90halt - #ln -sf ../init.d/reboot /mnt/etc/rc6.d/S90reboot - #ln -sf ../init.d/single /mnt/etc/rc1.d/S90single - #for dir in rc2.d rc3.d rc4.d rc5.d; do - # ln -sf ../init.d/rc.local /mnt/etc/${dir}/S99rc.local - #done - # remove annoying udev rule set for changing eth interface and cd/dvds rm /mnt/etc/udev/rules.d/*persistent*.rules >/dev/null 2>&1 |