Spare 'echo' command removed.
This commit is contained in:
parent
5ec84c541d
commit
dbdd120562
|
@ -31,7 +31,6 @@ mount -o remount,rw /boot
|
||||||
cd /boot
|
cd /boot
|
||||||
for f in System.map config vmlinuz kernel-genkernel initramfs; do
|
for f in System.map config vmlinuz kernel-genkernel initramfs; do
|
||||||
rm -f `ls --color=never $f-* 2>/dev/null | grep -vE "$REVISION$|$REVISION.img$|$UNAME$|$UNAME.img$" | sort -V | head -n-1`
|
rm -f `ls --color=never $f-* 2>/dev/null | grep -vE "$REVISION$|$REVISION.img$|$UNAME$|$UNAME.img$" | sort -V | head -n-1`
|
||||||
echo rm -f `ls --color=never $f-* 2>/dev/null | grep -vE "$REVISION$|$REVISION.img$|$UNAME$|$UNAME.img$" | sort -V | head -n-1`
|
|
||||||
done
|
done
|
||||||
mount -o remount,ro -force /boot
|
mount -o remount,ro -force /boot
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue