From 039b56152cfc84936e4b9f8b86a1b358d199f2dc Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 10 Mar 2010 18:07:00 +0100 Subject: Re-enabling rc-sysinit,networking.conf for booting (see #675) ... --- initramfs/distro-specs/ubuntu/functions-default | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'initramfs/distro-specs/ubuntu/functions-default') 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 -- cgit v1.2.3-55-g7522