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