diff options
Diffstat (limited to 'initramfs/distro-specs')
-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 |