Commit 16b21025 authored by Alexey Shabalin's avatar Alexey Shabalin

Put status banner to NorthEast

parent 4ac2300f
...@@ -27,11 +27,11 @@ graphics: ...@@ -27,11 +27,11 @@ graphics:
# use predefined image 800x600 with logo # use predefined image 800x600 with logo
if [ -n "$(STATUS)" ];then \ if [ -n "$(STATUS)" ];then \
mv images/boot.png images/.boot.png; \ mv images/boot.png images/.boot.png; \
convert images/.boot.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity northwest -draw 'text 0,55 " $(STATUS) "' images/boot.png;\ convert images/.boot.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity NorthEast -draw 'text 0,55 " $(STATUS) "' images/boot.png;\
rm -f images/.boot.png; \ rm -f images/.boot.png; \
for i in images/with-logo/*.png; do \ for i in images/with-logo/*.png; do \
mv $$i $$i.png; \ mv $$i $$i.png; \
convert $$i.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity northwest -draw 'text 0,0 " $(STATUS) "' $$i;\ convert $$i.png -undercolor '#c62530' -fill white -font /usr/share/fonts/ttf/dejavu/DejaVuSansCondensed-Bold.ttf -style Normal -weight Normal -pointsize 30 -gravity NorthEast -draw 'text 0,0 " $(STATUS) "' $$i;\
rm -f $$i.png; \ rm -f $$i.png; \
done; \ done; \
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment