Show IP, a bit ascii art!
This commit is contained in:
parent
6f0ffb7a23
commit
0aaa3d2ff3
2 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue