Skip to main content
Makenot
.
work
Discover
Use Cases
Docs
Fan+
Login
Join
max
/
mountaineer
main
Files
Commits
Issues
mountaineer
/
build
/
apkovl-src
/
common
/
etc
/
profile.d
/
sysop-motd.sh
265 B · 9 lines
History
Blame
Raw
1
#
Mountaineer login tip rotation.
2
#
Operator opt-out: sysop motd off
3
#
Reads /etc/mountaineer/sysop.toml; prints nothing if motd.enabled = false
4
#
or if `sysop` is unavailable.
5
6
if
command
-
v
sysop
>
/dev/null
2
>&
1
;
then
7
sysop
motd print
2
>
/dev/null
||
true
8
fi
9