Skip to content
Permalink
Browse files

Pseudo MOTD for Docker

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 10, 2019
1 parent 556bbc5 commit 0e6b57dc3f0d3c0b86fc912b5014edb396592b22
Showing with 5 additions and 0 deletions.
  1. +5 −0 build/160-docker
@@ -12,4 +12,9 @@ if (( $platform == 21 )); then
echo "PATCH-000002" >> /var/log/nems/patches.log
fi

# Docker doesn't support the usual "pretty" MOTD of NEMS, so at least have SOMETHING...
if ! grep -q "NEMS MOTD for DOCKER" /etc/bash.bashrc; then
echo "# NEMS MOTD for DOCKER" >> /etc/bash.bashrc
echo "echo \"Welcome to NEMS Linux $(/usr/local/bin/nems-info nemsver) for Docker\"" >> /etc/bash.bashrc
fi
fi

0 comments on commit 0e6b57d

Please sign in to comment.
You can’t perform that action at this time.