Skip to content
Brett Petch edited this page Sep 19, 2022 · 3 revisions

While the appslots are quite nice, sometimes you want something pretty to look at when you login. Below, you'll find both the examples and the method you can use to install the motd for your appslot. Note that they are agnostic, meaning that if you like the Swizzin.net or HostingBy one better, go for it, you can use it.

If you are using Swizzin CE or HostingBy Dedicated App, DO NOT USE THESE! It will fail on ssh login, leaving you to fix it yourself. We will not assist you.

This is a third party customization. The author, Swizzin.net, and/or HostingBy.Design is not responsible for any abnormal or hanging processes due to using this addition.

HostingBy.Design MOTD Addition

Example

         .:.:.:.
      -:::.   .:::-        Welcome back, username! 
  .::::-:::.      -:::.    Hostname: app01.lw.seedbox.io 
  o.      .:.:::- .::/o    CPU Usage: 7.79% 
  +.         .:.++:.  +    RAM Usage: 106 GiB / 251 GiB 
  +.   ...+::.        +    Quota Used: 323G / 1863G 
  o/::: .::.:.:...   .+    Bandwidth: 98.127G / 8.000T 
  .:::-        :::-:::.    Processes: 21 
      -:::.   .::/-        Uptime: 171 days 
         .:.:.:.

Installation

# Download the motd.sh file
curl -sL "https://github.com/brettpetch/hosted-scripts/raw/master/motd/.hostingby.design.sh" -o $HOME/.motd.sh
# Give motd permissions to execute
chmod +x $HOME/.motd.sh
# Add to ~/.profile
cat << EOF >> $HOME/.profile
if [ -x "\$HOME/.motd.sh" ]; then
    "\$HOME/.motd.sh"
fi
EOF

. $HOME/.profile
touch $HOME/.hushlogin

Swizzin.net MOTD Addition

Example

  :^: ...   :^. ...
  .^^:.:^^  .^^:.:~^     Welcome back, username! 
   ^:  :^.  .~:  :^.     Hostname: xl01.lw.swizzin.ltd 
  :^. .^^..:.:. .^^..    CPU Usage: 8.82% 
       .^^.      :^^.    RAM Usage: 107 GiB / 251 GiB 
     .:.^^     ::.^^     Quota Used: 323G / 1863G 
   .^.  ^^   .^.  ^:     Bandwidth: 98.090G / 8.000T 
  .~   .~:  :^   .~.     Processes: 21 
  .~. .^:   .^. .^:      Uptime: 171 days 
   .^^^.     .^^^.

Install

# Download the motd.sh file
curl -sL "https://github.com/brettpetch/hosted-scripts/raw/master/motd/.swizzin.net.sh" -o $HOME/.motd.sh
# Give motd permissions to execute
chmod +x $HOME/.motd.sh
# Add to ~/.profile
cat << EOF >> $HOME/.profile
if [ -x "\$HOME/.motd.sh" ]; then
    "\$HOME/.motd.sh"
fi
EOF

. $HOME/.profile
touch $HOME/.hushlogin

Special Thanks

Thanks to community member Alex for the HostingBy ASCII logo.

You can support Alex with the following links:

Ko-fi (PayPal): https://ko-fi.com/U7U46LR9L By renting a server with Alex's affiliate link: https://clients.walkerservers.com/aff.php?aff=249 Alex's Monero: 44ow4aVdjJK7opDHpRsTiXV6hh5y1T7W81phsasJPBcARox7shnWCemDts6rC3icMA6AuBTV4cWR56dFujcLK7P2TYwBQZv

Clone this wiki locally