slackbuilds_ponce/system/bootchart/mkchartrd
2010-05-13 00:39:44 +02:00

15 lines
216 B
Bash

#!/bin/sh
set -e
mkinitrd $@ -o /boot/initrd.chart.gz
cd /boot
sed -i s/"sbin\/init"/"sbin\/bootchartd"/g /boot/initrd-tree/init
OPTIONS=`echo $@|sed s/"-c"/""/`
mkinitrd $OPTIONS -o /boot/initrd.chart.gz