diff options
Diffstat (limited to 'system/bootchart/mkchartrd')
-rw-r--r-- | system/bootchart/mkchartrd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/bootchart/mkchartrd b/system/bootchart/mkchartrd new file mode 100644 index 0000000000..cdf9b602b9 --- /dev/null +++ b/system/bootchart/mkchartrd @@ -0,0 +1,15 @@ +#!/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 + + + + |