diff options
author | Dirk von Suchodoletz | 2010-03-09 21:28:03 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-03-09 21:28:03 +0100 |
commit | c6fc173ecc6bc2a69e44fed13cd3fc2a8b7789c9 (patch) | |
tree | be5ed1f04fc52272f94b5f993f6ca1b0329083f3 /initramfs/distro-specs/ubuntu/functions-default | |
parent | Rearranging stuff for new Ubuntu ... Problem with init-hook (unneeded (diff) | |
download | core-c6fc173ecc6bc2a69e44fed13cd3fc2a8b7789c9.tar.gz core-c6fc173ecc6bc2a69e44fed13cd3fc2a8b7789c9.tar.xz core-c6fc173ecc6bc2a69e44fed13cd3fc2a8b7789c9.zip |
Debugging for upstart ...
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-default | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default index ccc02288..f9d7b113 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -29,6 +29,13 @@ D_DIRINDXS="/var/run/sysconfig/tmp /var/lib/nobody /var/lib/misc /var/lib/pam \ /var/lib/bluetooth /var/lib/texmf /var/lib/nfs/sm /var/lib/acpi_support \ /var/spool/cron /var/lib/alsa" +# distro specific stuff to initialize +postinit () { + if [ $DEBUGLEVEL -gt 2 ]; then + export DEBUG_UPSTART=" -v --debug" + fi +} + # distro specific function called from servconfig script config_distro () { # runlevel system changed significantly compared to pre 9.10 sys-v-init @@ -38,8 +45,9 @@ config_distro () { done # remove unneeded init scripts (stuff handled in stage3 which would # interface with already existing setup) - for file in bridge-network-interface.conf hostname.conf network*conf ; - do rm /mnt/init/${file} >/dev/null 2>&1 + for file in bridge-network-interface.conf hostname.conf network-manager.conf \ + ureadahead*conf ; + do rm /mnt/etc/init/${file} >/dev/null 2>&1 done # add the halt link to the 0 and 6 runlevel directories and other useful |