Welcome to Centmin Mod Community
Become a Member

Install welcome message question + aliases question

Discussion in 'Install & Upgrades or Pre-Install Questions' started by hitman, Sep 15, 2016.

  1. hitman

    hitman Member

    117
    10
    18
    Jul 18, 2014
    Ratings:
    +14
    Local Time:
    10:25 PM
    hello
    i remember that in 08 version the welcome message is in /etc/motd
    in 09 beta, where is the welcome message stored?


    also where all the aliases like the centmin itself reside?
    (nginxconf,nprestart etc -> these aliases i mean)
     
  2. eva2000

    eva2000 Administrator Staff Member

    31,027
    6,928
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,434
    Local Time:
    6:25 AM
    Nginx 1.13.x
    MariaDB 5.5
    123.09beta01 made motd dynamic
    It is still controlled by variable ENABLEMOTD='y' which you can set in persistent config file /etc/centminmod/custom_config.inc to enable or disable. To edit, it's a bit more difficult as it's a shell script symlinked at /usr/local/bin/dmotd to source location in Centmin Mod code at /usr/local/src/centminmod/config/motd/dmotd.sh and will get updated with centmin.sh menu option 23 related updates automatically. If you do edit it, you can break centmin.sh menu option 23 updates.

    What do you intend to do motd wise ? edit? modify it ? disable it ? Centmin Mod 123.09beta01 version also checks for latest nginx version and if any centmin mod local code updates are available.

    for command shortcuts see FAQ item 16. They're custom created files in /usr/bin i.e. /usr/bin/nprestart etc.
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    31,027
    6,928
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,434
    Local Time:
    6:25 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Winner Winner x 1