Skip to content
View in the app

A better way to browse. Learn more.

Learn more

toilet header logo for NanoPi

Featured Replies

@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? :)

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.