Add myip script
This commit is contained in:
parent
2359b5dd67
commit
ab4517bea9
|
@ -17,6 +17,7 @@ pacman -S --needed --noconfirm base-devel \
|
||||||
docker \
|
docker \
|
||||||
docker-compose \
|
docker-compose \
|
||||||
wireguard-tools \
|
wireguard-tools \
|
||||||
|
whois \
|
||||||
ttf-ubuntu-font-family # ubuntu mono font for alacritty
|
ttf-ubuntu-font-family # ubuntu mono font for alacritty
|
||||||
|
|
||||||
sudo -u $SUDO_USER ./script/installpackagesnonroot
|
sudo -u $SUDO_USER ./script/installpackagesnonroot
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Print public IP address
|
||||||
|
|
||||||
|
set -e
|
||||||
|
curl -s 'https://api.ipify.org?format=text'
|
Loading…
Reference in New Issue