我和debian jessie一起做了个VPS。当我通过ssh连接时,我想要动态的motd显示。我试过
update-rc.d motd defaults(不提供输出),systemctl enable motd给出:
update-rc.d: warning: enable action will have no effect on runlevel 1
Failed to execute operation: No such file or directorysystemctl status motd说:
motd.service
Loaded: masked (/dev/null)
Active: inactive (dead)但是,脚本在/etc/rc*.d中。管理显示的唯一方法是发出service motd start (它创建/var/run/motd.dynamic,不会在重新启动时持续存在)
https://unix.stackexchange.com/questions/282001
复制相似问题