• Stars
    star
    193
  • Rank 201,081 (Top 4 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 11 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Message of the Day for the Raspberry Pi.

motd

Message of the Day for the Raspberry Pi

Written in pure Bash. No need to install any package. Tested with the Arch Linux ARM and Raspbian distributions.

Download and save the motd.sh bash script in the Raspberry Pi. Remember to add execution permissions and change the owner:

$ sudo chown root:root motd.sh
$ sudo chmod +x motd.sh

The following steps may vary depending on the OS. Arch Linux ARM is assumed.

  • Autoexecute the script when the user logs in. There are multiple locations from where you can start the motd.sh script, for example using the /etc/profile. Save the motd.sh script in the directory /etc/profile.d and it will be executed after the login. More about autostarting scripts.

  • Remove the default MOTD. It is located in /etc/motd.

    $ sudo rm /etc/motd
  • Remove the "last login" information. Disable the PrintLastLog option from the sshd service. Edit the /etc/ssh/sshd_config file and uncomment the line #PrintLastLog yes:

    $ sudo nano /etc/ssh/sshd_config

    Before:

    #PrintLastLog yes
    

    After:

    PrintLastLog no
    

    Restart the sshd service:

    $ sudo systemctl restart sshd

Note: If you don't see the degree Celsius character correctly (ยบ) make sure you have enabled a UTF8 locale (Arch Linux locales).

More Repositories

1

node-streamifier

Converts a Buffer/String to a readable stream.
JavaScript
149
star
2

node-properties

.properties parser/stringifier.
JavaScript
134
star
3

raspberrypi-openmax-h264

An OpenMAX IL example that records an H.264 video with a Raspberry Pi.
C
106
star
4

node-tftp

Streaming TFTP client and server.
JavaScript
87
star
5

raspberrypi-omxcam

OpenMAX camera abstraction layer for the Raspberry Pi.
C
77
star
6

node-argp

Command-line option parser.
JavaScript
47
star
7

node-status-bar

A status bar for file transfers.
JavaScript
45
star
8

node-bufferedreader

Binary and event-based data buffered readers.
JavaScript
44
star
9

node-gfm

Converts GitHub flavored markdown files to html.
JavaScript
35
star
10

node-binary-reader

Buffered binary reader with a fluent api.
JavaScript
27
star
11

Node-Grace

Graceful application with domains, cluster, error handling and Express support.
JavaScript
25
star
12

node-bcp47

Parser for the BCP 47 language tag specification.
JavaScript
22
star
13

raspberrypi-openmax-jpeg

An OpenMAX IL example that captures a JPEG image with a Raspberry Pi.
C
22
star
14

node-hex

Pretty-prints a Buffer.
JavaScript
20
star
15

js-ie-version

Checks the Internet Explorer's version.
JavaScript
17
star
16

node-omxcam

Bindings for the omxcam C library.
C++
16
star
17

node-bufferedwriter

Writes buffered data to files.
JavaScript
15
star
18

node-ssl-self-signed-certificate

Self-signed SSL certificate for development.
JavaScript
13
star
19

node-seraphim

Configuration loader.
JavaScript
11
star
20

node-mongodb-fixture

MongoDB fixture utility for testing.
JavaScript
8
star
21

node-getmod

Module loader with aliases.
JavaScript
7
star
22

node-debuggy

Debugging utility tool for development.
JavaScript
5
star
23

node-speedy

Tiny benchmark utility.
JavaScript
5
star
24

nx-check-changes

GitHub Action that checks path changes in a Nx workspace
TypeScript
3
star
25

path-filtering

GitHub Action that filters paths.
TypeScript
3
star
26

angular-starter

Strictest Angular 10 starter project (Prettier, ESLint, Stylelint, Beautify and VSCode integration)
TypeScript
3
star
27

node-deferred-queue

Series control flow library.
JavaScript
2
star
28

node-rwd

Warns if the process has been started with the wrong cwd.
JavaScript
2
star
29

node-bole-console

Console formatter for the bole logger.
JavaScript
2
star
30

node-groot

Module loader with global variables.
JavaScript
2
star
31

node-cargo-ship

Parallel execution of tasks with a shared namespace.
JavaScript
1
star
32

node-bole-mongodb

MongoDB stream for the bole logger.
JavaScript
1
star
33

node-is-global

Checks whether Node.js is running a global module.
JavaScript
1
star
34

node-progress-bar-formatter

Progress bar formatter.
JavaScript
1
star
35

package-version

GitHub Action that reads the npm version from package.json file
Shell
1
star
36

Node-WalkieWatchie

File system watcher.
JavaScript
1
star