Do not run sysv specific serial console setup under systemd
authorMichael Prokop <mika@grml.org>
Fri, 12 May 2017 18:56:44 +0000 (20:56 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 12 May 2017 18:56:44 +0000 (20:56 +0200)
See grml/grml#21

autoconfig.functions

index a7c3151..2996eb6 100755 (executable)
@@ -590,6 +590,11 @@ config_timezone(){
 # activate serial console {{{
 config_console(){
 if checkbootparam 'console'; then
 # 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='  '
   local line
   local ws
   ws='  '