Code Monkey home page Code Monkey logo

Comments (2)

tvrzna avatar tvrzna commented on August 30, 2024

Hello,
please take a look at the screenshot.

If you want to change the first line, you can modify your /etc/issue, this would have effect on all your TTYs. If you want to just hide this part, you can set PRINT_ISSUE in your /etc/emptty/conf to false.

If you want to change only that emptty part, you have two options. The first is to create /etc/emptty/motd and insert any text. This allows ANSI colors, however it does not support running any script, it's just plain text. If you are interested in dynamic content, you can create /etc/emptty/motd-gen.sh file, adds to it executable flag (chmod +x /etc/emptty/motd-gen.sh) and then update DYNAMIC_MOTD to true in your /etc/emptty/conf. This would allow you to use e.g.

#!/bin/sh
echo 'Hi there'

I would recommend to try just plain text, because dynamic motd could easily do unwanted stuff.

from emptty.

enricofadly avatar enricofadly commented on August 30, 2024

Okay sir problem is solved, thanks for you help and keep up the good work (y)

from emptty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.