mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
16 lines
216 B
Text
16 lines
216 B
Text
|
#!/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
|
||
|
|
||
|
|
||
|
|
||
|
|