SJ Yang Posted May 9, 2018 Posted May 9, 2018 Debian GNU/Linux 9 orangepizero ttyS0 orangepizero login: root Password: Last login: Tue May 8 23:46:23 UTC 2018 on ttyS0 ___ ____ _ _____ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) |__ /___ _ __ ___ | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | / // _ \ '__/ _ \ | |_| | | | (_| | | | | (_| | __/ | __/| | / /| __/ | | (_) | \___/|_| \__,_|_| |_|\__, |\___| |_| |_| /____\___|_| \___/ |___/ Welcome to ARMBIAN 5.44.180506 nightly Debian GNU/Linux 9 (stretch) 4.14.39-sunxi System load: 0.08 0.17 0.08 Up time: 3 min Memory usage: 17 % of 240MB IP: 192.168.1.114 172.24.1.1 CPU temp: 47°C Usage of /: 16% of 7.0G How to change the " Orange PI Zero" Logo
guidol Posted May 9, 2018 Posted May 9, 2018 1 hour ago, SJ Yang said: How to change the " Orange PI Zero" Logo The "logo" is drawn by the util "toilet" in the "script" /etc/update-motd.d/10-header The name for the "logo" is the variable $BOARD_NAME - but its mybe better (for getting no problems with the armbian update) to let the information of the variable intact. But you can add another variable and change the "logo" to your variable like this: MYBOARD_NAME="HAL9000" if [ $(echo $BOARD_NAME | wc -c) -ge 18 ]; then TERM=linux toilet -f standard -F metal $(echo $MYBOARD_NAME | sed 's/Orange Pi/OPi/') else TERM=linux toilet -f standard -F metal $MYBOARD_NAME fi but keep in mind:# DO NOT EDIT THIS FILE # any changes will be lost on board support package update
Recommended Posts