Skip to content

Commit

Permalink
fixed ssh and resized logo
Browse files Browse the repository at this point in the history
  • Loading branch information
parmigggiana committed Jul 29, 2024
1 parent 06bd6b2 commit 9fc0fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chroot_scripts/30-ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ set -u
# systemctl enable --now sshd
if sudo systemctl start sshd ; then
echo "ssh service started sucessfully."
_INT=$(ip -4 route | awk '/^default/ {print $5}')
_IPV4=$(ip addr show $_INT | grep -oP '(?<=inet\s)\d+(\.\d+){3}')
echo "Your local address is $_IPV4 on interface $_INT"
_INT=\$(ip -4 route | awk '/^default/ {print \$5}')
_IPV4=\$(ip addr show \$_INT | grep -oP '(?<=inet\s)\d+(\.\d+){3}')
echo "Your local address is \$_IPV4 on interface \$_INT"
else
echo "ssh service failed to start."
fi
Expand Down
Binary file modified chroot_scripts/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9fc0fa0

Please sign in to comment.