- 显示内容的文件
/etc/motd
- 执行脚本文件位置
/etc/update-motd.d
注意:在/etc/update-motd.d
中创建了自己的脚本后,要加chmod a+x 你的文件
, 不然会没有效果的~
参考:https://raspberrypi.stackexchange.com/questions/73681/raspberry-pi-custom-ssh-normal-login-message
/etc/motd
/etc/update-motd.d
注意:在/etc/update-motd.d
中创建了自己的脚本后,要加chmod a+x 你的文件
, 不然会没有效果的~
参考:https://raspberrypi.stackexchange.com/questions/73681/raspberry-pi-custom-ssh-normal-login-message