6e08c84a21eb72d0fb7db2c762aa4fde1b91dc2f
[bootcd.git] / initscripts / pl_wrapper
1 #!/bin/bash
2 #
3 # nodes starting up with fedora18 - especially under kvm/qemu btw
4 # tend to unreliably startup, this is an attempt to get more details 
5 # on what is actually going on by running pl_boot and pl_sysinit in -x mode
6 # and logging everything in /var/log/pl-boot
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) >> /var/log/pl-boot 2>&1