mirror of
https://gitlab.com/mattia.basaglia/ASCII-Pony.git
synced 2024-11-24 13:07:58 +01:00
pam.d motd installation notes
This commit is contained in:
parent
84905444ad
commit
d1f3e33715
2 changed files with 18 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -0,0 +1 @@
|
||||||
|
*.kdev4
|
17
README
17
README
|
@ -72,6 +72,23 @@ the terminal supports colors).
|
||||||
Some blank ponies and a template directory can be found inside the
|
Some blank ponies and a template directory can be found inside the
|
||||||
directory /Generic
|
directory /Generic
|
||||||
|
|
||||||
|
Installing as MOTD
|
||||||
|
------------------
|
||||||
|
|
||||||
|
### pam.d
|
||||||
|
|
||||||
|
Ensure /etc/pam.d/login has the following line:
|
||||||
|
|
||||||
|
session optional pam_motd.so motd=/run/motd.dynamic
|
||||||
|
|
||||||
|
Note it does not end with `noupdate`.
|
||||||
|
|
||||||
|
Then (for a single pony picture) copy one of the files under rendered/sh to
|
||||||
|
/etc/update-motd.d with a name like 20-pony or something like that.
|
||||||
|
|
||||||
|
If instead you want to use systempony in the motd, first install it system-wide
|
||||||
|
(with `make install`), then create the appropriate script that would call it.
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue