From a33161e114a50e2b3a32528b3c76cc5755edc53c Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 26 Nov 2010 22:50:32 +0100 Subject: [PATCH] Drop deprecated config_environment, config_keyboard, config_interactive, config_homedir and create_mnt_dirs They have been deprecated backwards compability functions for quite a long time, now it's time to completely drop them to speed up the boot process a bit. --- autoconfig.functions | 31 ------------------------------- grml-autoconfig | 10 ---------- 2 files changed, 41 deletions(-) diff --git a/autoconfig.functions b/autoconfig.functions index ec87922..fdbe87c 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1026,13 +1026,6 @@ fi } # }}} -# {{{ Interactive configuration -config_interactive(){ - ewarn "config_interactive is deprecated nowadays." - ewarn "Please set CONFIG_INTERACTIVE='no' in /etc/grml/autoconfig" ; eend 0 -} -# }}} - # {{{ AGP config_agp(){ if checkbootparam 'forceagp' ; then @@ -1517,14 +1510,6 @@ fi } # }}} -# {{{ Check for persistent homedir option and eventually mount /home from there, or use a loopback file. -config_homedir(){ -if checkbootparam 'home' ; then - ewarn "The \"home\" bootoption is deprecated, please use the persistency feature instead."; eend 1 -fi -} -# }}} - # {{{ Sound config_mixer () { if ! [ -x /usr/bin/amixer ] ; then @@ -1802,13 +1787,6 @@ fix_unionfs(){ } # }}} -# {{{ create all /mnt-directories -create_mnt_dirs(){ - ewarn "create_mnt_dirs is deprecated as grml-rebuildfstab does all we need." - ewarn "Please set CONFIG_CREATE_MNT_DIRS='no' in /etc/grml/autoconfig" ; eend 0 -} -# }}} - # {{{ start X window system via grml-x config_x_startup(){ # make sure we start X only if startx is used *before* a nostartx option @@ -2613,14 +2591,5 @@ fi } # }}} -### {{{ backwards compatible stuff -config_environment(){ - ewarn "config_environment is deprecated. Please set CONFIG_ENVIRONMENT in /etc/grml/autoconfig to 'no'." ; eend 0 -} -config_keyboard(){ - ewarn "config_keyboard is deprecated. Please set CONFIG_KEYBOARD in /etc/grml/autoconfig to 'no'." ; eend 0 -} -# }}} - ## END OF FILE ################################################################# # vim:foldmethod=marker expandtab ai ft=zsh shiftwidth=3 diff --git a/grml-autoconfig b/grml-autoconfig index 963c1bf..17a13b7 100755 --- a/grml-autoconfig +++ b/grml-autoconfig @@ -127,8 +127,6 @@ checkvalue $CONFIG_FAST && config_fast [ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "|||">/dev/tty14 -checkvalue $CONFIG_ENVIRONMENT && config_environment - checkvalue $CONFIG_SWRAID && config_swraid checkvalue $CONFIG_DMRAID && config_dmraid @@ -166,14 +164,10 @@ checkvalue $CONFIG_ACPI_APM && config_acpi_apm checkvalue $CONFIG_PCMCIA && config_pcmcia -checkvalue $CONFIG_KEYBOARD && config_keyboard - [ -n "$SPLASH" ] && /usr/bin/grml-bootsplash "||||||">/dev/tty14 checkvalue $CONFIG_BLIND && config_blind -checkvalue $CONFIG_INTERACTIVE && config_interactive - checkvalue $CONFIG_AGP && config_agp checkvalue $CONFIG_AUTOMOUNTER && config_automounter @@ -198,8 +192,6 @@ checkvalue $CONFIG_PASSWD && config_passwd checkvalue $CONFIG_EXTRACT && config_extract -checkvalue $CONFIG_HOMEDIR && config_homedir - checkvalue $CONFIG_FINDDCSDIR && config_finddcsdir checkvalue $CONFIG_DEBS && config_debs @@ -250,8 +242,6 @@ checkvalue $CONFIG_WELCOME && config_welcome checkvalue $CONFIG_FIX_UNIONFS && fix_unionfs -checkvalue $CONFIG_CREATE_MNT_DIRS && create_mnt_dirs - checkvalue $CONFIG_915RESOLUTION && config_915resolution checkvalue $CONFIG_MYPATH && config_mypath -- 2.1.4