coming back to a model that works .. most of the time
[bootcd.git] / initscripts / pl_wrapper
index da5fc3a..a46b9f5 100755 (executable)
@@ -3,8 +3,8 @@
 # nodes starting up with fedora18 - especially under kvm/qemu btw
 # tend to startup unreliably, this is an attempt to get more details by
 # * running pl_boot and pl_sysinit in -x mode
-# * and logging everything in /var/log/pl-boot
+# * and logging everything in /var/log/ as well as echoing in /dev/console
 #
 # also we just run both in sequence instead of relying on convoluted systemd dependencies
 # 
-(bash -x /etc/init.d/pl_sysinit ; bash -x /etc/init.d/pl_boot) > /dev/console 2>&1
+(bash -x /etc/init.d/pl_sysinit ; bash -x /etc/init.d/pl_boot) 2>&1 | tee /var/log/bootcd.log > /dev/console