120 |
|
|
121 |
# user custom creation scripts and delete the provided ones |
# user custom creation scripts and delete the provided ones |
122 |
local i |
local i |
123 |
for i in 10_* 20_* 30_* 40_* 41_* README |
for i in ${BINDIR}/etc/grub.d/10_* \ |
124 |
|
${BINDIR}/etc/grub.d/20_* \ |
125 |
|
${BINDIR}/etc/grub.d/30_* \ |
126 |
|
${BINDIR}/etc/grub.d/40_* \ |
127 |
|
${BINDIR}/etc/grub.d/41_* \ |
128 |
|
${BINDIR}/etc/grub.d/README |
129 |
do |
do |
130 |
if [[ -f /etc/grub.d/${i} ]] |
if [[ -f ${i} ]] |
131 |
then |
then |
132 |
rm /etc/grub.d/${i} || die |
rm ${i} || die |
133 |
fi |
fi |
134 |
done |
done |
135 |
mcinjectexec 05_alx_header /etc/grub.d/ || die |
mcinjectexec 05_alx_header /etc/grub.d/ || die |