File mkinitrd-setup.sh of Package bootchart

#!/bin/bash
#
#%stage: setup
#%depends: start
#

#if use_script bootchart; then
    mv init sbin/init
    ln -s sbin/bootchartd init
    sed -e "s,.lock,/.lock," /etc/bootchartd.conf > etc/bootchartd.conf
    cp /etc/SuSE-release etc/
    touch etc/inittab
    mkdir -p lib
    cp -a /lib/bootchart/ lib/
    mknod -m 0666 dev/null c 1 3
    
    bootchart=1
    save_var bootchart
#fi