X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=2996eb64ce73d70e74518881a7828e4c1abd6e3d;hp=a942f13ee637d9f7e3b33f0e341275c05bc7f96b;hb=b535b4881868c5b9c751a9ba7b0517dfdeed574d;hpb=bbf127d0cee9df1d2e0459ef4bbd13f9d467e714 diff --git a/autoconfig.functions b/autoconfig.functions index a942f13..2996eb6 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -590,6 +590,11 @@ config_timezone(){ # activate serial console {{{ config_console(){ if checkbootparam 'console'; then + # this hack is no longer necessary with systemd + if $SYSTEMD ; then + return + fi + local line local ws ws=' ' @@ -1375,9 +1380,9 @@ if checkbootparam 'startx' && ! echo "$CMDLINE" | grep -q 'startx.*nostartx' ; t if $SYSTEMD ; then cat>|/etc/init.d/startx<