Drop deprecated config_environment, config_keyboard, config_interactive, config_homed...
authorMichael Prokop <mika@grml.org>
Fri, 26 Nov 2010 21:50:32 +0000 (22:50 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 26 Nov 2010 21:50:32 +0000 (22:50 +0100)
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
grml-autoconfig

index ec87922..fdbe87c 100755 (executable)
@@ -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
index 963c1bf..17a13b7 100755 (executable)
@@ -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