Show IP, a bit ascii art!

This commit is contained in:
Torsten Raudssus 2024-02-11 04:13:58 +01:00
parent 6f0ffb7a23
commit 0aaa3d2ff3
2 changed files with 14 additions and 3 deletions

View file

@ -2,6 +2,17 @@
export IP=$( hostname -i )
cat <<EOF
__ _
___ _ ____ __ / / _ __ ___ __| | ___
/ __| '__\ \ / / / / | '_ \ / _ \ / _\` |/ _ \\
\__ \ | \ V / / / | | | | (_) | (_| | __/
|___/_| \_/ /_/ |_| |_|\___/ \__,_|\___|
------------------------------------------------
IP: $IP
EOF
if [[ ! -d "node_modules" ]]; then
echo "node_modules does not exist."
if [[ -f "package.json" ]]; then