alexparser Posted December 14, 2017 Share Posted December 14, 2017 Hi all! I write app for statistic generation for my tasks. 1. How I can replace Armbian welcome message? 2. How run app before user login? BR, Link to comment Share on other sites More sharing options...
pfeerick Posted December 15, 2017 Share Posted December 15, 2017 Login/welcome messages come from the scripts in /etc/update-motd.d, so you can remove/change them as you wish. If you didn't want the sysinfo, tips,update nofications and armbian-config messages, you can just remove the executable bit (i.e. chmod -x) from the four scripts responsible for those messages (30-sysinfo 35-tips 40-updates 41-armbian-config), and then you'd be left with just the board name. You can also turn that off by disabling the 10-header script. You can also make your own, and have them run and display on login (if properly written and the executable bit is set). The easiest way to run something before login is to use crontab. i.e. run crontab -e, and then add a new @reboot command for a script that will run after the device has rebooted, and before login. See this page for some more information and examples. 1 Link to comment Share on other sites More sharing options...
tbackus Posted January 26, 2018 Share Posted January 26, 2018 On this topic, If I do add something to /etc/update-motd.d folder, will it get replaced upon Upgrade? Link to comment Share on other sites More sharing options...
Igor Posted January 27, 2018 Share Posted January 27, 2018 16 hours ago, tbackus said: If I do add something to /etc/update-motd.d folder, will it get replaced upon Upgrade? If you create a new file, no. Link to comment Share on other sites More sharing options...
Recommended Posts