Jump to content

toilet header logo for NanoPi


guidol

Recommended Posts

@Igor could we please change in /etc/update-motd.d/10-armbian-header

 

from

if [ $(echo $BOARD_NAME | wc -c) -ge 17 ]; then
        TERM=linux toilet -f standard -F metal $(echo $BOARD_NAME | sed 's/Orange Pi/OPi/' | sed 's/Nanopi/NPi/')
else
        TERM=linux toilet -f standard -F metal $BOARD_NAME
fi

to

if [ $(echo $BOARD_NAME | wc -c) -ge 17 ]; then
        TERM=linux toilet -f standard -F metal $(echo $BOARD_NAME | sed 's/Orange Pi/OPi/' | sed 's/NanoPi/NPi/')
else
        TERM=linux toilet -f standard -F metal $BOARD_NAME
fi

this mean from Nanopi to NanoPi for the sed-command, because for the NanoPi Neo Core2 the toilet logo will put the 2 of Core2 in the next line.
With NPi Neo Core2 it would be OK ;)

I think there was never a Nanopi? :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines