looks like our problem is that eth0 is not yet known to the system when we try to...
[bootcd.git] / initscripts / pl_wrapper
old mode 100644 (file)
new mode 100755 (executable)
index 6e08c84..a46b9f5
@@ -1,10 +1,10 @@
 #!/bin/bash
 #
 # nodes starting up with fedora18 - especially under kvm/qemu btw
-# tend to unreliably startup, this is an attempt to get more details 
-# on what is actually going on by running pl_boot and pl_sysinit in -x mode
-# and logging everything in /var/log/pl-boot
+# 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/ 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) >> /var/log/pl-boot 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