allow for a 30s delay before eth0 comes up
[bootcd.git] / initscripts / pl_wrapper
index e3b3880..a46b9f5 100755 (executable)
@@ -3,11 +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
 # 
-# while we're at it we deamonize the whole thing so ayatollesque systemd is happier
-#
-exec 0<&-
-(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