redirect pl_sysinit and pl_boot to /dev/console
[bootcd.git] / systemd / pl_boot.service
index 2a162f4..8fd36ac 100644 (file)
@@ -1,10 +1,11 @@
 [Unit]
 Description=pl_boot service
-Wants=getty@tty2.service
 Wants=network-online.target
 After=network.target
 
+# in debug mode we fork bash -x so that we can get a grip on
+# what exactly is going on in here
 [Service]
-ExecStart=/etc/init.d/pl_sysinit
-ExecStart=/etc/init.d/pl_boot
+ExecStart=/bin/bash -x /etc/init.d/pl_sysinit > /dev/console
+ExecStart=/bin/bash -x /etc/init.d/pl_boot > /dev/console
 Type=oneshot